#171D2C color
The hex color #171D2C is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 11.4% green and 17.3% blue (23, 29, 44).
Its hue angle is 223°, with 31% saturation and 13% lightness. For print, the CMYK equivalent is 48% cyan, 34% magenta, 0% yellow and 83% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.82:1).
#171D2C color codes
| HEX | #171D2C | |
|---|---|---|
| RGB | rgb(23, 29, 44) | |
| RGB percent | rgb(9%, 11.4%, 17.3%) | |
| HSL | hsl(223, 31%, 13%) | |
| HSV / HSB | hsv(223, 48%, 17%) | |
| CMYK | cmyk(48%, 34%, 0%, 83%) | |
| CIE LAB | lab(10.87, 2.12, -10.94) | |
| CIE LCH | lch(10.87, 11.15, 280.96) | |
| CIE XYZ | xyz(1.247, 1.243, 2.557) | |
| Decimal | 1514796 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171D2C, 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 #171D2C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.82:1 | Pass | Pass | Pass |
| #171D2C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.82:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #171D2C looks to people with the most common types of color vision deficiency.
#181e2dProtanopia
no red cones#161c2cDeuteranopia
no green cones#102022Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #171d2c; }
.text { color: #171d2c; }
.border { border: 2px solid #171d2c; }
.transparent { background-color: rgb(23 29 44 / 50%); }
.gradient { background: linear-gradient(to right, #171d2c, #1c172c); }
Similar colors
#1e2433Moonless Mystery#1f2133Eclipse Elixir#1b2431Dark#0e1d32Trapped Darkness#161e34Sombre Night#21263aMidnight Express#222233Black Velvet#102030The Count’s Black
Closest common color name: Rich Black.
Questions
- What color is #171D2C?
- #171D2C is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #171D2C?
- The RGB value is 23, 29, 44: 23 red, 29 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #171D2C?
- The complementary color is #2C2617, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171D2C?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.82:1. WCAG asks for at least 4.5:1 for normal text.