#171474#171474
#171474 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.154 H 272.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).
Color values
| HEX | #171474 |
|---|---|
| RGB | rgb(23, 20, 116) |
| HSL | hsl(242, 71%, 27%) |
| HSV | hsv(242, 83%, 45%) |
| CMYK | cmyk(80.2%, 82.8%, 0%, 54.5%) |
| CIE-LAB | lab(15.19, 35.87, -53.28) |
| CIE-LCH | lch(15.19, 64.23, 303.95°) |
| OKLab | oklab(28.44% 0.0056 -0.1542) |
| OKLCH | oklch(28.44% 0.154 272.1) |
| XYZ | xyz(3.7548, 1.9430, 16.6968) |
| Luminance | 0.0194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.54
Dark Royal Blue
#02066F
ΔE00 2.92
Deep Blue
#040273
ΔE00 3.45
Darkblue (survey)
#030764
ΔE00 3.58
Navy
#000080
ΔE00 4.04
Royal
#0C1793
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171474 #717414
analogous
#144174 #171474 #471474
triadic
#171474 #741714 #147417
tetradic
#171474 #741441 #717414 #147447
square
#171474 #741441 #717414 #147447
split-complementary
#171474 #744714 #417414
monochromatic
#05051A #0D0B40 #171474 #211DA8 #2E28DA
Accessibility & contrast
On white
15.12
#171474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#171474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171474
15.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171474 | 1.00 | 15.12 | 1.39 | 15.12 |
| #FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #171474; /* rgb */ color: rgb(23, 20, 116); /* oklch */ color: oklch(28.4% 0.154 272.1);
Tailwind
colors: {
custom: {
50: '#67549d',
500: '#171474',
950: '#000000',
},
}SCSS
$custom: #171474; $custom-light: #67549d; $custom-dark: #000000;
JSON
{
"hex": "#171474",
"rgb": {
"r": 23,
"g": 20,
"b": 116
},
"hsl": {
"h": 241.875,
"s": 70.588,
"l": 26.667
},
"oklch": {
"l": 0.28444,
"c": 0.15431,
"h": 272.1
},
"luminance": 0.01943
}Semantic roles & 50–950 ramp
primary
#171474
secondary
#A7AA3A
accent
#ED3AE8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E