#171878#171878
#171878 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.156 H 271.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #171878 |
|---|---|
| RGB | rgb(23, 24, 120) |
| HSL | hsl(239, 68%, 28%) |
| HSV | hsv(239, 81%, 47%) |
| CMYK | cmyk(80.8%, 80%, 0%, 52.9%) |
| CIE-LAB | lab(16.46, 35.00, -53.75) |
| CIE-LCH | lch(16.46, 64.14, 303.07°) |
| OKLab | oklab(29.48% 0.0033 -0.1556) |
| OKLCH | oklch(29.48% 0.156 271.2) |
| XYZ | xyz(4.0690, 2.1910, 17.9741) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.40
Dark Royal Blue
#02066F
ΔE00 3.85
Royal
#0C1793
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.33
Darkblue (survey)
#030764
ΔE00 4.55
Navy
#000080
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171878 #787717
analogous
#174978 #171878 #461778
triadic
#171878 #781718 #187817
tetradic
#171878 #781749 #787717 #177846
square
#171878 #781749 #787717 #177846
split-complementary
#171878 #784617 #497817
monochromatic
#05051A #0D0E45 #171878 #2122AB #3233D8
Accessibility & contrast
On white
14.60
#171878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171878
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171878 | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171878; /* rgb */ color: rgb(23, 24, 120); /* oklch */ color: oklch(29.5% 0.156 271.2);
Tailwind
colors: {
custom: {
50: '#6857a0',
500: '#171878',
950: '#000000',
},
}SCSS
$custom: #171878; $custom-light: #6857a0; $custom-dark: #000000;
JSON
{
"hex": "#171878",
"rgb": {
"r": 23,
"g": 24,
"b": 120
},
"hsl": {
"h": 239.381,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.29481,
"c": 0.15565,
"h": 271.2
},
"luminance": 0.02191
}Semantic roles & 50–950 ramp
primary
#171878
secondary
#ADAC3E
accent
#E93DEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F