#171E85#171E85
#171E85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.166 H 269.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #171E85 |
|---|---|
| RGB | rgb(23, 30, 133) |
| HSL | hsl(236, 71%, 31%) |
| HSV | hsv(236, 83%, 52%) |
| CMYK | cmyk(82.7%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(19.24, 36.07, -57.42) |
| CIE-LCH | lch(19.24, 67.81, 302.14°) |
| OKLab | oklab(31.9% -0.0012 -0.1663) |
| OKLCH | oklch(31.9% 0.166 269.6) |
| XYZ | xyz(5.0498, 2.8036, 22.4608) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.66
Midnight Blue
#191970
ΔE00 3.35
Darkblue
#00008B
ΔE00 5.38
Navy
#000080
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.72
Dark Royal Blue
#02066F
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E85 #857E17
analogous
#175585 #171E85 #471785
triadic
#171E85 #85171E #1E8517
tetradic
#171E85 #851755 #857E17 #178547
square
#171E85 #851755 #857E17 #178547
split-complementary
#171E85 #854717 #558517
monochromatic
#05061D #0E1251 #171E85 #202AB9 #3A44DD
Accessibility & contrast
On white
13.45
#171E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#171E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E85
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E85 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #171e85; /* rgb */ color: rgb(23, 30, 133); /* oklch */ color: oklch(31.9% 0.166 269.6);
Tailwind
colors: {
custom: {
50: '#6b5baa',
500: '#171e85',
950: '#000000',
},
}SCSS
$custom: #171e85; $custom-light: #6b5baa; $custom-dark: #000000;
JSON
{
"hex": "#171e85",
"rgb": {
"r": 23,
"g": 30,
"b": 133
},
"hsl": {
"h": 236.182,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.31896,
"c": 0.16633,
"h": 269.6
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#171E85
secondary
#B9B13F
accent
#E23BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F