#171337 color
The hex color #171337 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 7.5% green and 21.6% blue (23, 19, 55).
Its hue angle is 247°, with 49% saturation and 15% lightness. For print, the CMYK equivalent is 58% cyan, 65% magenta, 0% yellow and 78% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.73:1).
#171337 color codes
| HEX | #171337 | |
|---|---|---|
| RGB | rgb(23, 19, 55) | |
| RGB percent | rgb(9%, 7.5%, 21.6%) | |
| HSL | hsl(247, 49%, 15%) | |
| HSV / HSB | hsv(247, 65%, 22%) | |
| CMYK | cmyk(58%, 65%, 0%, 78%) | |
| CIE LAB | lab(8.34, 13.91, -22.96) | |
| CIE LCH | lch(8.34, 26.85, 301.21) | |
| CIE XYZ | xyz(1.276, 0.924, 3.725) | |
| Decimal | 1512247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171337, 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 #171337 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.73:1 | Pass | Pass | Pass |
| #171337 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.73:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #171337 looks to people with the most common types of color vision deficiency.
#011938Protanopia
no red cones#001736Deuteranopia
no green cones#0b1b22Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #171337; }
.text { color: #171337; }
.border { border: 2px solid #171337; }
.transparent { background-color: rgb(23 19 55 / 50%); }
.gradient { background: linear-gradient(to right, #171337, #291337); }
Similar colors
#1c0f33Midnight Monarch#071037Infinite Night#211d49Azulado#111144Deadly Depths#160435Quiet Abyss#03012dMidnight#222244Black Market#231c4dSilent Orbit
Closest common color name: Dark Purple.
Questions
- What color is #171337?
- #171337 is a very dark, desaturated blue, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #171337?
- The RGB value is 23, 19, 55: 23 red, 19 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #171337?
- The complementary color is #333713, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171337?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.73:1. WCAG asks for at least 4.5:1 for normal text.