#171A72#171A72
#171A72 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.146 H 271.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #171A72 |
|---|---|
| RGB | rgb(23, 26, 114) |
| HSL | hsl(238, 66%, 27%) |
| HSV | hsv(238, 80%, 45%) |
| CMYK | cmyk(79.8%, 77.2%, 0%, 55.3%) |
| CIE-LAB | lab(16.18, 31.64, -50.34) |
| CIE-LCH | lch(16.18, 59.45, 302.15°) |
| OKLab | oklab(29.08% 0.0036 -0.1457) |
| OKLCH | oklch(29.08% 0.146 271.4) |
| XYZ | xyz(3.7590, 2.1354, 16.1304) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.46
Dark Royal Blue
#02066F
ΔE00 4.34
Darkblue (survey)
#030764
ΔE00 4.57
Deep Blue
#040273
ΔE00 5.01
Royal
#0C1793
ΔE00 5.10
Navy
#000080
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171A72 #726F17
analogous
#174872 #171A72 #421772
triadic
#171A72 #72171A #1A7217
tetradic
#171A72 #721748 #726F17 #177242
square
#171A72 #721748 #726F17 #177242
split-complementary
#171A72 #724217 #487217
monochromatic
#050619 #0D0E3F #171A72 #2126A5 #2E34D5
Accessibility & contrast
On white
14.71
#171A72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171A72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171A72
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171A72 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171a72; /* rgb */ color: rgb(23, 26, 114); /* oklch */ color: oklch(29.1% 0.146 271.4);
Tailwind
colors: {
custom: {
50: '#66579c',
500: '#171a72',
950: '#000000',
},
}SCSS
$custom: #171a72; $custom-light: #66579c; $custom-dark: #000000;
JSON
{
"hex": "#171a72",
"rgb": {
"r": 23,
"g": 26,
"b": 114
},
"hsl": {
"h": 238.022,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.29077,
"c": 0.14578,
"h": 271.4
},
"luminance": 0.02136
}Semantic roles & 50–950 ramp
primary
#171A72
secondary
#A8A43D
accent
#E43EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E