#171A22 color
The hex color #171A22 is a very dark, grayish blue.
In the RGB color model it is made of 9% red, 10.2% green and 13.3% blue (23, 26, 34).
Its hue angle is 224°, with 19% saturation and 11% lightness. For print, the CMYK equivalent is 32% cyan, 24% magenta, 0% yellow and 87% black.
The closest named color is Eigengrau (#16161D), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.39:1).
#171A22 color codes
| HEX | #171A22 | |
|---|---|---|
| RGB | rgb(23, 26, 34) | |
| RGB percent | rgb(9%, 10.2%, 13.3%) | |
| HSL | hsl(224, 19%, 11%) | |
| HSV / HSB | hsv(224, 32%, 13%) | |
| CMYK | cmyk(32%, 24%, 0%, 87%) | |
| CIE LAB | lab(9.29, 0.96, -5.98) | |
| CIE LCH | lch(9.29, 6.06, 279.14) | |
| CIE XYZ | xyz(1.011, 1.036, 1.66) | |
| Decimal | 1514018 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171A22, 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 #171A22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.39:1 | Pass | Pass | Pass |
| #171A22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.39:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #171A22 looks to people with the most common types of color vision deficiency.
#181b22Protanopia
no red cones#171a22Deuteranopia
no green cones#141c1dTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #171a22; }
.text { color: #171a22; }
.border { border: 2px solid #171a22; }
.transparent { background-color: rgb(23 26 34 / 50%); }
.gradient { background: linear-gradient(to right, #171a22, #191722); }
Similar colors
#16161dEigengrau#0c121bMidnight Edition#16141cBack in Black#17171aPiano Black#1c1e21Satin Deep Black#1e1e21Inkwell Inception#0b0c14Midnight Oil#202124Noble Black
Closest common color name: Midnight Black.
Questions
- What color is #171A22?
- #171A22 is a very dark, grayish blue, closest to the named color Eigengrau. It belongs to the black family of colors.
- What is the RGB value of #171A22?
- The RGB value is 23, 26, 34: 23 red, 26 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #171A22?
- The complementary color is #221F17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171A22?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.39:1. WCAG asks for at least 4.5:1 for normal text.