#171B29 color
The hex color #171B29 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 10.6% green and 16.1% blue (23, 27, 41).
Its hue angle is 227°, with 28% saturation and 13% lightness. For print, the CMYK equivalent is 44% cyan, 34% magenta, 0% yellow and 84% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.14:1).
#171B29 color codes
| HEX | #171B29 | |
|---|---|---|
| RGB | rgb(23, 27, 41) | |
| RGB percent | rgb(9%, 10.6%, 16.1%) | |
| HSL | hsl(227, 28%, 13%) | |
| HSV / HSB | hsv(227, 44%, 16%) | |
| CMYK | cmyk(44%, 34%, 0%, 84%) | |
| CIE LAB | lab(10, 2.56, -10.09) | |
| CIE LCH | lch(10, 10.41, 284.25) | |
| CIE XYZ | xyz(1.145, 1.126, 2.254) | |
| Decimal | 1514281 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171B29, 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 #171B29 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.14:1 | Pass | Pass | Pass |
| #171B29 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.14:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #171B29 looks to people with the most common types of color vision deficiency.
#171c2aProtanopia
no red cones#151b29Deuteranopia
no green cones#121e20Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #171b29; }
.text { color: #171b29; }
.border { border: 2px solid #171b29; }
.transparent { background-color: rgb(23 27 41 / 50%); }
.gradient { background: linear-gradient(to right, #171b29, #1c1729); }
Similar colors
#1e2433Moonless Mystery#1f2133Eclipse Elixir#111122Corbeau#222233Black Velvet#161e34Sombre Night#1b2431Dark#0e1d32Trapped Darkness#16161dEigengrau
Closest common color name: Rich Black.
Questions
- What color is #171B29?
- #171B29 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 #171B29?
- The RGB value is 23, 27, 41: 23 red, 27 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #171B29?
- The complementary color is #292517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171B29?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.14:1. WCAG asks for at least 4.5:1 for normal text.