#171C70#171C70
#171C70 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.141 H 271.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #171C70 |
|---|---|
| RGB | rgb(23, 28, 112) |
| HSL | hsl(237, 66%, 26%) |
| HSV | hsv(237, 79%, 44%) |
| CMYK | cmyk(79.5%, 75%, 0%, 56.1%) |
| CIE-LAB | lab(16.42, 29.62, -48.66) |
| CIE-LCH | lch(16.42, 56.96, 301.33°) |
| OKLab | oklab(29.18% 0.003 -0.1409) |
| OKLCH | oklch(29.18% 0.141 271.2) |
| XYZ | xyz(3.6922, 2.1821, 15.5527) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.96
Dark Royal Blue
#02066F
ΔE00 4.98
Darkblue (survey)
#030764
ΔE00 5.01
Royal
#0C1793
ΔE00 5.63
Deep Blue
#040273
ΔE00 5.70
Navy
#000080
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C70 #706B17
analogous
#174970 #171C70 #3F1770
triadic
#171C70 #70171C #1C7017
tetradic
#171C70 #701749 #706B17 #17703F
square
#171C70 #701749 #706B17 #17703F
split-complementary
#171C70 #703F17 #497017
monochromatic
#050619 #0D0F3D #171C70 #2129A3 #2D37D4
Accessibility & contrast
On white
14.62
#171C70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#171C70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C70
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C70 | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171c70; /* rgb */ color: rgb(23, 28, 112); /* oklch */ color: oklch(29.2% 0.141 271.2);
Tailwind
colors: {
custom: {
50: '#65599a',
500: '#171c70',
950: '#000000',
},
}SCSS
$custom: #171c70; $custom-light: #65599a; $custom-dark: #000000;
JSON
{
"hex": "#171c70",
"rgb": {
"r": 23,
"g": 28,
"b": 112
},
"hsl": {
"h": 236.629,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.29177,
"c": 0.14089,
"h": 271.2
},
"luminance": 0.02183
}Semantic roles & 50–950 ramp
primary
#171C70
secondary
#A6A03D
accent
#DF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E