#171E90#171E90
#171E90 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.180 H 269.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #171E90 |
|---|---|
| RGB | rgb(23, 30, 144) |
| HSL | hsl(237, 72%, 33%) |
| HSV | hsv(237, 84%, 56%) |
| CMYK | cmyk(84%, 79.2%, 0%, 43.5%) |
| CIE-LAB | lab(20.53, 39.95, -62.16) |
| CIE-LCH | lch(20.53, 73.89, 302.73°) |
| OKLab | oklab(33.19% -0.0031 -0.1801) |
| OKLCH | oklch(33.19% 0.18 269) |
| XYZ | xyz(5.8499, 3.1236, 26.6747) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.60
Cobalt Blue
#030AA7
ΔE00 4.36
Midnight Blue
#191970
ΔE00 4.91
Royal Blue (survey)
#0504AA
ΔE00 4.98
Darkblue
#00008B
ΔE00 5.14
Navy
#000080
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E90 #908917
analogous
#175A90 #171E90 #4C1790
triadic
#171E90 #90171E #1E9017
tetradic
#171E90 #90175A #908917 #17904C
square
#171E90 #90175A #908917 #17904C
split-complementary
#171E90 #904C17 #5A9017
monochromatic
#060826 #0F135B #171E90 #1F29C5 #414AE1
Accessibility & contrast
On white
12.92
#171E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#171E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E90
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E90 | 1.00 | 12.92 | 1.62 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #171e90; /* rgb */ color: rgb(23, 30, 144); /* oklch */ color: oklch(33.2% 0.180 269.0);
Tailwind
colors: {
custom: {
50: '#6e5cb2',
500: '#171e90',
950: '#000000',
},
}SCSS
$custom: #171e90; $custom-light: #6e5cb2; $custom-dark: #000000;
JSON
{
"hex": "#171e90",
"rgb": {
"r": 23,
"g": 30,
"b": 144
},
"hsl": {
"h": 236.529,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.33188,
"c": 0.18011,
"h": 269
},
"luminance": 0.03124
}Semantic roles & 50–950 ramp
primary
#171E90
secondary
#C1BA42
accent
#E539EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980