#171C3F color
The hex color #171C3F is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 11% green and 24.7% blue (23, 28, 63).
Its hue angle is 233°, with 47% saturation and 17% lightness. For print, the CMYK equivalent is 63% cyan, 56% magenta, 0% yellow and 75% black.
The closest named color is Nightwalker (#161D3B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.48:1).
#171C3F color codes
| HEX | #171C3F | |
|---|---|---|
| RGB | rgb(23, 28, 63) | |
| RGB percent | rgb(9%, 11%, 24.7%) | |
| HSL | hsl(233, 47%, 17%) | |
| HSV / HSB | hsv(233, 63%, 25%) | |
| CMYK | cmyk(63%, 56%, 0%, 75%) | |
| CIE LAB | lab(11.77, 10.19, -23.16) | |
| CIE LCH | lch(11.77, 25.3, 293.74) | |
| CIE XYZ | xyz(1.666, 1.371, 4.879) | |
| Decimal | 1514559 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171C3F, 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 #171C3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.48:1 | Pass | Pass | Pass |
| #171C3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.48:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #171C3F looks to people with the most common types of color vision deficiency.
#0b2140Protanopia
no red cones#061d3eDeuteranopia
no green cones#03242aTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #171c3f; }
.text { color: #171c3f; }
.border { border: 2px solid #171c3f; }
.transparent { background-color: rgb(23 28 63 / 50%); }
.gradient { background: linear-gradient(to right, #171c3f, #26173f); }
Similar colors
#161d3bNightwalker#222244Black Market#211d49Azulado#1c1e4dFly-by-Night#112244Dark Eclipse#071037Infinite Night#151931Dark Knight#041330Squid’s Ink
Closest common color name: Oxford Blue.
Questions
- What color is #171C3F?
- #171C3F is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the black family of colors.
- What is the RGB value of #171C3F?
- The RGB value is 23, 28, 63: 23 red, 28 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #171C3F?
- The complementary color is #3F3A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171C3F?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.48:1. WCAG asks for at least 4.5:1 for normal text.