#171626 color
The hex color #171626 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 8.6% green and 14.9% blue (23, 22, 38).
Its hue angle is 244°, with 27% saturation and 12% lightness. For print, the CMYK equivalent is 39% cyan, 42% magenta, 0% yellow and 85% black.
The closest named color is Corbeau (#111122), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.81:1).
#171626 color codes
| HEX | #171626 | |
|---|---|---|
| RGB | rgb(23, 22, 38) | |
| RGB percent | rgb(9%, 8.6%, 14.9%) | |
| HSL | hsl(244, 27%, 12%) | |
| HSV / HSB | hsv(244, 42%, 15%) | |
| CMYK | cmyk(39%, 42%, 0%, 85%) | |
| CIE LAB | lab(8.09, 5.35, -10.82) | |
| CIE LCH | lch(8.09, 12.07, 296.3) | |
| CIE XYZ | xyz(0.99, 0.896, 1.954) | |
| Decimal | 1512998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171626, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #171626 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.81:1 | Pass | Pass | Pass |
| #171626 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.81:1 | Pass | Pass | Pass |
| Sample text | 1.18:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #171626 looks to people with the most common types of color vision deficiency.
#111827Protanopia
no red cones#111726Deuteranopia
no green cones#13191cTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #171626; }
.text { color: #171626; }
.border { border: 2px solid #171626; }
.transparent { background-color: rgb(23 22 38 / 50%); }
.gradient { background: linear-gradient(to right, #171626, #1f1626); }
Similar colors
#111122Corbeau#1f2133Eclipse Elixir#222233Black Velvet#151931Dark Knight#16141cBack in Black#161e34Sombre Night#050d25Void#1a161dViolet Void
Closest common color name: Midnight Black.
Questions
- What color is #171626?
- #171626 is a very dark, desaturated blue, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #171626?
- The RGB value is 23, 22, 38: 23 red, 22 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #171626?
- The complementary color is #252616, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171626?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.81:1. WCAG asks for at least 4.5:1 for normal text.