#171976#171976
#171976 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.152 H 271.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #171976 |
|---|---|
| RGB | rgb(23, 25, 118) |
| HSL | hsl(239, 67%, 28%) |
| HSV | hsv(239, 81%, 46%) |
| CMYK | cmyk(80.5%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(16.43, 33.70, -52.51) |
| CIE-LCH | lch(16.43, 62.39, 302.69°) |
| OKLab | oklab(29.39% 0.0033 -0.152) |
| OKLCH | oklch(29.39% 0.152 271.2) |
| XYZ | xyz(3.9699, 2.1850, 17.3485) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.01
Dark Royal Blue
#02066F
ΔE00 4.05
Royal
#0C1793
ΔE00 4.37
Darkblue (survey)
#030764
ΔE00 4.57
Deep Blue
#040273
ΔE00 4.61
Navy
#000080
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171976 #767417
analogous
#174876 #171976 #451776
triadic
#171976 #761719 #197617
tetradic
#171976 #761748 #767417 #177645
square
#171976 #761748 #767417 #177645
split-complementary
#171976 #764517 #487617
monochromatic
#05051A #0D0E43 #171976 #2124A9 #3134D7
Accessibility & contrast
On white
14.61
#171976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171976
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171976 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171976; /* rgb */ color: rgb(23, 25, 118); /* oklch */ color: oklch(29.4% 0.152 271.2);
Tailwind
colors: {
custom: {
50: '#67579f',
500: '#171976',
950: '#000000',
},
}SCSS
$custom: #171976; $custom-light: #67579f; $custom-dark: #000000;
JSON
{
"hex": "#171976",
"rgb": {
"r": 23,
"g": 25,
"b": 118
},
"hsl": {
"h": 238.737,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.2939,
"c": 0.15208,
"h": 271.2
},
"luminance": 0.02185
}Semantic roles & 50–950 ramp
primary
#171976
secondary
#ABA93E
accent
#E73EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E