#171C88#171C88
#171C88 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.172 H 269.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #171C88 |
|---|---|
| RGB | rgb(23, 28, 136) |
| HSL | hsl(237, 71%, 31%) |
| HSV | hsv(237, 83%, 53%) |
| CMYK | cmyk(83.1%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(19.18, 38.31, -59.40) |
| CIE-LCH | lch(19.18, 70.68, 302.82°) |
| OKLab | oklab(31.96% -0.0011 -0.1721) |
| OKLCH | oklch(31.96% 0.172 269.6) |
| XYZ | xyz(5.2110, 2.7896, 23.5516) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Midnight Blue
#191970
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.76
Cobalt Blue
#030AA7
ΔE00 5.02
Navy
#000080
ΔE00 5.15
Dark Royal Blue
#02066F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C88 #888317
analogous
#175488 #171C88 #4A1788
triadic
#171C88 #88171C #1C8817
tetradic
#171C88 #881754 #888317 #17884A
square
#171C88 #881754 #888317 #17884A
split-complementary
#171C88 #884A17 #548817
monochromatic
#05061F #0E1154 #171C88 #2027BC #3B43DE
Accessibility & contrast
On white
13.48
#171C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#171C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C88
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C88 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #171c88; /* rgb */ color: rgb(23, 28, 136); /* oklch */ color: oklch(32.0% 0.172 269.6);
Tailwind
colors: {
custom: {
50: '#6c5aac',
500: '#171c88',
950: '#000000',
},
}SCSS
$custom: #171c88; $custom-light: #6c5aac; $custom-dark: #000000;
JSON
{
"hex": "#171c88",
"rgb": {
"r": 23,
"g": 28,
"b": 136
},
"hsl": {
"h": 237.345,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.31958,
"c": 0.17206,
"h": 269.6
},
"luminance": 0.0279
}Semantic roles & 50–950 ramp
primary
#171C88
secondary
#BCB63F
accent
#E63AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F