#171E76#171E76
#171E76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.147 H 270.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #171E76 |
|---|---|
| RGB | rgb(23, 30, 118) |
| HSL | hsl(236, 67%, 28%) |
| HSV | hsv(236, 81%, 46%) |
| CMYK | cmyk(80.5%, 74.6%, 0%, 53.7%) |
| CIE-LAB | lab(17.55, 30.57, -50.67) |
| CIE-LCH | lch(17.55, 59.18, 301.10°) |
| OKLab | oklab(30.18% 0.0011 -0.1467) |
| OKLCH | oklch(30.18% 0.147 270.4) |
| XYZ | xyz(4.0865, 2.4183, 17.3874) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.59
Royal
#0C1793
ΔE00 4.88
Dark Royal Blue
#02066F
ΔE00 5.36
Darkblue (survey)
#030764
ΔE00 5.69
Deep Blue
#040273
ΔE00 5.98
Navy
#000080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171E76 #766F17
analogous
#174D76 #171E76 #3F1776
triadic
#171E76 #76171E #1E7617
tetradic
#171E76 #76174D #766F17 #17763F
square
#171E76 #76174D #766F17 #17763F
split-complementary
#171E76 #763F17 #4D7617
monochromatic
#05071A #0D1143 #171E76 #212BA9 #313DD7
Accessibility & contrast
On white
14.15
#171E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#171E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171E76
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171E76 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #171e76; /* rgb */ color: rgb(23, 30, 118); /* oklch */ color: oklch(30.2% 0.147 270.4);
Tailwind
colors: {
custom: {
50: '#665a9e',
500: '#171e76',
950: '#000000',
},
}SCSS
$custom: #171e76; $custom-light: #665a9e; $custom-dark: #000000;
JSON
{
"hex": "#171e76",
"rgb": {
"r": 23,
"g": 30,
"b": 118
},
"hsl": {
"h": 235.579,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.30184,
"c": 0.14672,
"h": 270.4
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#171E76
secondary
#ABA33E
accent
#DE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E