#171E79#171E79
#171E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.151 H 270.2°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #171E79 |
|---|---|
| RGB | rgb(23, 30, 121) |
| HSL | hsl(236, 68%, 28%) |
| HSV | hsv(236, 81%, 47%) |
| CMYK | cmyk(81%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(17.88, 31.69, -52.05) |
| CIE-LCH | lch(17.88, 60.94, 301.34°) |
| OKLab | oklab(30.52% 0.0006 -0.1507) |
| OKLCH | oklch(30.52% 0.151 270.2) |
| XYZ | xyz(4.2676, 2.4907, 18.3413) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.82
Royal
#0C1793
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 5.35
Darkblue (survey)
#030764
ΔE00 5.82
Deep Blue
#040273
ΔE00 5.89
Navy
#000080
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E79 #797217
analogous
#174F79 #171E79 #411779
triadic
#171E79 #79171E #1E7917
tetradic
#171E79 #79174F #797217 #177941
square
#171E79 #79174F #797217 #177941
split-complementary
#171E79 #794117 #4F7917
monochromatic
#05061A #0D1146 #171E79 #212BAC #323ED8
Accessibility & contrast
On white
14.02
#171E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#171E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E79
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E79 | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #171e79; /* rgb */ color: rgb(23, 30, 121); /* oklch */ color: oklch(30.5% 0.151 270.2);
Tailwind
colors: {
custom: {
50: '#675aa1',
500: '#171e79',
950: '#000000',
},
}SCSS
$custom: #171e79; $custom-light: #675aa1; $custom-dark: #000000;
JSON
{
"hex": "#171e79",
"rgb": {
"r": 23,
"g": 30,
"b": 121
},
"hsl": {
"h": 235.714,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.30521,
"c": 0.15073,
"h": 270.2
},
"luminance": 0.02491
}Semantic roles & 50–950 ramp
primary
#171E79
secondary
#AEA63E
accent
#DE3DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F