#171232 color
The hex color #171232 is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 7.1% green and 19.6% blue (23, 18, 50).
Its hue angle is 249°, with 47% saturation and 13% lightness. For print, the CMYK equivalent is 54% cyan, 64% magenta, 0% yellow and 80% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.96:1).
#171232 color codes
| HEX | #171232 | |
|---|---|---|
| RGB | rgb(23, 18, 50) | |
| RGB percent | rgb(9%, 7.1%, 19.6%) | |
| HSL | hsl(249, 47%, 13%) | |
| HSV / HSB | hsv(249, 64%, 20%) | |
| CMYK | cmyk(54%, 64%, 0%, 80%) | |
| CIE LAB | lab(7.63, 12.76, -20.45) | |
| CIE LCH | lch(7.63, 24.11, 301.96) | |
| CIE XYZ | xyz(1.145, 0.845, 3.12) | |
| Decimal | 1511986 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171232, 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 #171232 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.96:1 | Pass | Pass | Pass |
| #171232 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.96:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #171232 looks to people with the most common types of color vision deficiency.
#041833Protanopia
no red cones#041631Deuteranopia
no green cones#0f191fTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #171232; }
.text { color: #171232; }
.border { border: 2px solid #171232; }
.transparent { background-color: rgb(23 18 50 / 50%); }
.gradient { background: linear-gradient(to right, #171232, #271232); }
Similar colors
#1c0f33Midnight Monarch#071037Infinite Night#060929Mysterious Depths#03012dMidnight#211d49Azulado#222244Black Market#160435Quiet Abyss#161d3bNightwalker
Closest common color name: Dark Purple.
Questions
- What color is #171232?
- #171232 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 #171232?
- The RGB value is 23, 18, 50: 23 red, 18 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #171232?
- The complementary color is #2D3212, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171232?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.96:1. WCAG asks for at least 4.5:1 for normal text.