#171922 color
The hex color #171922 is a very dark, grayish blue.
In the RGB color model it is made of 9% red, 9.8% green and 13.3% blue (23, 25, 34).
Its hue angle is 229°, with 19% saturation and 11% lightness. For print, the CMYK equivalent is 32% cyan, 26% magenta, 0% yellow and 87% black.
The closest named color is Eigengrau (#16161D), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.52:1).
#171922 color codes
| HEX | #171922 | |
|---|---|---|
| RGB | rgb(23, 25, 34) | |
| RGB percent | rgb(9%, 9.8%, 13.3%) | |
| HSL | hsl(229, 19%, 11%) | |
| HSV / HSB | hsv(229, 32%, 13%) | |
| CMYK | cmyk(32%, 26%, 0%, 87%) | |
| CIE LAB | lab(8.93, 1.72, -6.53) | |
| CIE LCH | lch(8.93, 6.75, 284.72) | |
| CIE XYZ | xyz(0.99, 0.993, 1.653) | |
| Decimal | 1513762 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171922, 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 #171922 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.52:1 | Pass | Pass | Pass |
| #171922 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.52:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #171922 looks to people with the most common types of color vision deficiency.
#161a22Protanopia
no red cones#161922Deuteranopia
no green cones#141b1cTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #171922; }
.text { color: #171922; }
.border { border: 2px solid #171922; }
.transparent { background-color: rgb(23 25 34 / 50%); }
.gradient { background: linear-gradient(to right, #171922, #1a1722); }
Similar colors
#16161dEigengrau#16141cBack in Black#0c121bMidnight Edition#1a161dViolet Void#0b0c14Midnight Oil#17171aPiano Black#080813Narwhal Gray#1e1e21Inkwell Inception
Closest common color name: Midnight Black.
Questions
- What color is #171922?
- #171922 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 #171922?
- The RGB value is 23, 25, 34: 23 red, 25 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #171922?
- The complementary color is #222017, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171922?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.52:1. WCAG asks for at least 4.5:1 for normal text.