#171E88#171E88
#171E88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.170 H 269.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #171E88 |
|---|---|
| RGB | rgb(23, 30, 136) |
| HSL | hsl(236, 71%, 31%) |
| HSV | hsv(236, 83%, 53%) |
| CMYK | cmyk(83.1%, 77.9%, 0%, 46.7%) |
| CIE-LAB | lab(19.59, 37.14, -58.72) |
| CIE-LCH | lch(19.59, 69.48, 302.31°) |
| OKLab | oklab(32.25% -0.0017 -0.1701) |
| OKLCH | oklch(32.25% 0.17 269.4) |
| XYZ | xyz(5.2600, 2.8877, 23.5679) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Midnight Blue
#191970
ΔE00 3.78
Darkblue
#00008B
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.32
Navy
#000080
ΔE00 5.63
Royal Blue (survey)
#0504AA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E88 #888117
analogous
#175688 #171E88 #481788
triadic
#171E88 #88171E #1E8817
tetradic
#171E88 #881756 #888117 #178848
square
#171E88 #881756 #888117 #178848
split-complementary
#171E88 #884817 #568817
monochromatic
#05071F #0E1254 #171E88 #202ABC #3B46DE
Accessibility & contrast
On white
13.31
#171E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#171E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E88
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E88 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #171e88; /* rgb */ color: rgb(23, 30, 136); /* oklch */ color: oklch(32.2% 0.170 269.4);
Tailwind
colors: {
custom: {
50: '#6b5bac',
500: '#171e88',
950: '#000000',
},
}SCSS
$custom: #171e88; $custom-light: #6b5bac; $custom-dark: #000000;
JSON
{
"hex": "#171e88",
"rgb": {
"r": 23,
"g": 30,
"b": 136
},
"hsl": {
"h": 236.283,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.32246,
"c": 0.17014,
"h": 269.4
},
"luminance": 0.02888
}Semantic roles & 50–950 ramp
primary
#171E88
secondary
#BCB43F
accent
#E33AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F