#171C2F color
The hex color #171C2F is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 11% green and 18.4% blue (23, 28, 47).
Its hue angle is 228°, with 34% saturation and 14% lightness. For print, the CMYK equivalent is 51% cyan, 40% magenta, 0% yellow and 82% black.
The closest named color is Sombre Night (#161E34), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.89:1).
#171C2F color codes
| HEX | #171C2F | |
|---|---|---|
| RGB | rgb(23, 28, 47) | |
| RGB percent | rgb(9%, 11%, 18.4%) | |
| HSL | hsl(228, 34%, 14%) | |
| HSV / HSB | hsv(228, 51%, 18%) | |
| CMYK | cmyk(51%, 40%, 0%, 82%) | |
| CIE LAB | lab(10.69, 3.97, -13.41) | |
| CIE LCH | lch(10.69, 13.99, 286.49) | |
| CIE XYZ | xyz(1.282, 1.218, 2.856) | |
| Decimal | 1514543 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171C2F, 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 #171C2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.89:1 | Pass | Pass | Pass |
| #171C2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.89:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #171C2F looks to people with the most common types of color vision deficiency.
#151e30Protanopia
no red cones#131c2fDeuteranopia
no green cones#0f2023Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #171c2f; }
.text { color: #171c2f; }
.border { border: 2px solid #171c2f; }
.transparent { background-color: rgb(23 28 47 / 50%); }
.gradient { background: linear-gradient(to right, #171c2f, #1e172f); }
Similar colors
#161e34Sombre Night#1f2133Eclipse Elixir#151931Dark Knight#222233Black Velvet#21263aMidnight Express#0e1d32Trapped Darkness#111122Corbeau#1e2433Moonless Mystery
Closest common color name: Oxford Blue.
Questions
- What color is #171C2F?
- #171C2F is a very dark, desaturated blue, closest to the named color Sombre Night. It belongs to the black family of colors.
- What is the RGB value of #171C2F?
- The RGB value is 23, 28, 47: 23 red, 28 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #171C2F?
- The complementary color is #2F2A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171C2F?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.89:1. WCAG asks for at least 4.5:1 for normal text.