#171A37 color
The hex color #171A37 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 10.2% green and 21.6% blue (23, 26, 55).
Its hue angle is 234°, with 41% saturation and 15% lightness. For print, the CMYK equivalent is 58% cyan, 53% magenta, 0% yellow and 78% black.
The closest named color is Nightwalker (#161D3B), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.94:1).
#171A37 color codes
| HEX | #171A37 | |
|---|---|---|
| RGB | rgb(23, 26, 55) | |
| RGB percent | rgb(9%, 10.2%, 21.6%) | |
| HSL | hsl(234, 41%, 15%) | |
| HSV / HSB | hsv(234, 58%, 22%) | |
| CMYK | cmyk(58%, 53%, 0%, 78%) | |
| CIE LAB | lab(10.53, 8.55, -19.44) | |
| CIE LCH | lch(10.53, 21.24, 293.74) | |
| CIE XYZ | xyz(1.412, 1.197, 3.77) | |
| Decimal | 1514039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171A37, 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 #171A37 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.94:1 | Pass | Pass | Pass |
| #171A37 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.94: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 #171A37 looks to people with the most common types of color vision deficiency.
#0e1e38Protanopia
no red cones#0b1b36Deuteranopia
no green cones#0a2025Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #171a37; }
.text { color: #171a37; }
.border { border: 2px solid #171a37; }
.transparent { background-color: rgb(23 26 55 / 50%); }
.gradient { background: linear-gradient(to right, #171a37, #241737); }
Similar colors
#161d3bNightwalker#151931Dark Knight#222244Black Market#041330Squid’s Ink#161e34Sombre Night#060929Mysterious Depths#071037Infinite Night#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #171A37?
- #171A37 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 #171A37?
- The RGB value is 23, 26, 55: 23 red, 26 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #171A37?
- The complementary color is #373417, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171A37?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.94:1. WCAG asks for at least 4.5:1 for normal text.