#171B88#171B88
#171B88 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.173 H 269.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #171B88 |
|---|---|
| RGB | rgb(23, 27, 136) |
| HSL | hsl(238, 71%, 31%) |
| HSV | hsv(238, 83%, 53%) |
| CMYK | cmyk(83.1%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(18.98, 38.87, -59.73) |
| CIE-LCH | lch(18.98, 71.26, 303.06°) |
| OKLab | oklab(31.82% -0.0008 -0.173) |
| OKLCH | oklch(31.82% 0.173 269.7) |
| XYZ | xyz(5.1877, 2.7430, 23.5438) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.83
Midnight Blue
#191970
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.53
Cobalt Blue
#030AA7
ΔE00 4.89
Navy
#000080
ΔE00 4.93
Dark Royal Blue
#02066F
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B88 #888417
analogous
#175388 #171B88 #4B1788
triadic
#171B88 #88171B #1B8817
tetradic
#171B88 #881753 #888417 #17884B
square
#171B88 #881753 #888417 #17884B
split-complementary
#171B88 #884B17 #538817
monochromatic
#05061F #0E1154 #171B88 #2025BC #3B41DE
Accessibility & contrast
On white
13.56
#171B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#171B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B88
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B88 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #171b88; /* rgb */ color: rgb(23, 27, 136); /* oklch */ color: oklch(31.8% 0.173 269.7);
Tailwind
colors: {
custom: {
50: '#6c59ac',
500: '#171b88',
950: '#000000',
},
}SCSS
$custom: #171b88; $custom-light: #6c59ac; $custom-dark: #000000;
JSON
{
"hex": "#171b88",
"rgb": {
"r": 23,
"g": 27,
"b": 136
},
"hsl": {
"h": 237.876,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.31819,
"c": 0.173,
"h": 269.7
},
"luminance": 0.02744
}Semantic roles & 50–950 ramp
primary
#171B88
secondary
#BCB73F
accent
#E73AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F