#171678#171678
#171678 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.158 H 271.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #171678 |
|---|---|
| RGB | rgb(23, 22, 120) |
| HSL | hsl(241, 69%, 28%) |
| HSV | hsv(241, 82%, 47%) |
| CMYK | cmyk(80.8%, 81.7%, 0%, 52.9%) |
| CIE-LAB | lab(16.06, 36.14, -54.41) |
| CIE-LCH | lch(16.06, 65.32, 303.60°) |
| OKLab | oklab(29.2% 0.004 -0.1575) |
| OKLCH | oklch(29.2% 0.158 271.5) |
| XYZ | xyz(4.0293, 2.1116, 17.9609) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.65
Dark Royal Blue
#02066F
ΔE00 3.43
Deep Blue
#040273
ΔE00 3.87
Royal
#0C1793
ΔE00 3.95
Navy
#000080
ΔE00 4.14
Darkblue (survey)
#030764
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171678 #777816
analogous
#164678 #171678 #481678
triadic
#171678 #781716 #167817
tetradic
#171678 #781646 #777816 #167848
square
#171678 #781646 #777816 #167848
split-complementary
#171678 #784816 #467816
monochromatic
#05051A #0D0D44 #171678 #211FAC #312FD9
Accessibility & contrast
On white
14.76
#171678 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#171678 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171678
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171678 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171678 | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171678; /* rgb */ color: rgb(23, 22, 120); /* oklch */ color: oklch(29.2% 0.158 271.5);
Tailwind
colors: {
custom: {
50: '#6855a0',
500: '#171678',
950: '#000000',
},
}SCSS
$custom: #171678; $custom-light: #6855a0; $custom-dark: #000000;
JSON
{
"hex": "#171678",
"rgb": {
"r": 23,
"g": 22,
"b": 120
},
"hsl": {
"h": 240.612,
"s": 69.014,
"l": 27.843
},
"oklch": {
"l": 0.29202,
"c": 0.15755,
"h": 271.5
},
"luminance": 0.02112
}Semantic roles & 50–950 ramp
primary
#171678
secondary
#ACAD3C
accent
#EC3CEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F