#171B22 color
The hex color #171B22 is a very dark, grayish azure.
In the RGB color model it is made of 9% red, 10.6% green and 13.3% blue (23, 27, 34).
Its hue angle is 218°, with 19% saturation and 11% lightness. For print, the CMYK equivalent is 32% cyan, 21% magenta, 0% yellow and 87% black.
The closest named color is Satin Deep Black (#1C1E21), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.27:1).
#171B22 color codes
| HEX | #171B22 | |
|---|---|---|
| RGB | rgb(23, 27, 34) | |
| RGB percent | rgb(9%, 10.6%, 13.3%) | |
| HSL | hsl(218, 19%, 11%) | |
| HSV / HSB | hsv(218, 32%, 13%) | |
| CMYK | cmyk(32%, 21%, 0%, 87%) | |
| CIE LAB | lab(9.65, 0.22, -5.44) | |
| CIE LCH | lch(9.65, 5.44, 272.27) | |
| CIE XYZ | xyz(1.034, 1.081, 1.667) | |
| Decimal | 1514274 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171B22, 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 #171B22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.27:1 | Pass | Pass | Pass |
| #171B22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.27:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #171B22 looks to people with the most common types of color vision deficiency.
#191b22Protanopia
no red cones#181a22Deuteranopia
no green cones#141c1dTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #171b22; }
.text { color: #171b22; }
.border { border: 2px solid #171b22; }
.transparent { background-color: rgb(23 27 34 / 50%); }
.gradient { background: linear-gradient(to right, #171b22, #191722); }
Similar colors
#1c1e21Satin Deep Black#0c121bMidnight Edition#16161dEigengrau#17171aPiano Black#1e1e21Inkwell Inception#202124Noble Black#151517Dark Void#060b14Dark Rift
Closest common color name: Rich Black.
Questions
- What color is #171B22?
- #171B22 is a very dark, grayish azure, closest to the named color Satin Deep Black. It belongs to the black family of colors.
- What is the RGB value of #171B22?
- The RGB value is 23, 27, 34: 23 red, 27 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #171B22?
- The complementary color is #221E17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171B22?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.27:1. WCAG asks for at least 4.5:1 for normal text.