#171533 color
The hex color #171533 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 8.2% green and 20% blue (23, 21, 51).
Its hue angle is 244°, with 42% saturation and 14% lightness. For print, the CMYK equivalent is 55% cyan, 59% magenta, 0% yellow and 80% black.
The closest named color is Dark Knight (#151931), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.62:1).
#171533 color codes
| HEX | #171533 | |
|---|---|---|
| RGB | rgb(23, 21, 51) | |
| RGB percent | rgb(9%, 8.2%, 20%) | |
| HSL | hsl(244, 42%, 14%) | |
| HSV / HSB | hsv(244, 59%, 20%) | |
| CMYK | cmyk(55%, 59%, 0%, 80%) | |
| CIE LAB | lab(8.63, 10.86, -19.58) | |
| CIE LCH | lch(8.63, 22.39, 299.02) | |
| CIE XYZ | xyz(1.219, 0.957, 3.252) | |
| Decimal | 1512755 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171533, 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 #171533 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.62:1 | Pass | Pass | Pass |
| #171533 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.62:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #171533 looks to people with the most common types of color vision deficiency.
#081a34Protanopia
no red cones#071832Deuteranopia
no green cones#0e1b21Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #171533; }
.text { color: #171533; }
.border { border: 2px solid #171533; }
.transparent { background-color: rgb(23 21 51 / 50%); }
.gradient { background: linear-gradient(to right, #171533, #261533); }
Similar colors
#151931Dark Knight#161d3bNightwalker#1c0f33Midnight Monarch#060929Mysterious Depths#071037Infinite Night#222244Black Market#2a2243Midnight Velvet#211d49Azulado
Closest common color name: Dark Purple.
Questions
- What color is #171533?
- #171533 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #171533?
- The RGB value is 23, 21, 51: 23 red, 21 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #171533?
- The complementary color is #313315, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171533?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.62:1. WCAG asks for at least 4.5:1 for normal text.