#171B89#171B89
#171B89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.174 H 269.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #171B89 |
|---|---|
| RGB | rgb(23, 27, 137) |
| HSL | hsl(238, 71%, 31%) |
| HSV | hsv(238, 83%, 54%) |
| CMYK | cmyk(83.2%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(19.10, 39.21, -60.15) |
| CIE-LCH | lch(19.10, 71.81, 303.10°) |
| OKLab | oklab(31.94% -0.001 -0.1742) |
| OKLCH | oklch(31.94% 0.174 269.7) |
| XYZ | xyz(5.2591, 2.7716, 23.9198) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.70
Midnight Blue
#191970
ΔE00 3.88
Darkblue
#00008B
ΔE00 4.50
Cobalt Blue
#030AA7
ΔE00 4.76
Navy
#000080
ΔE00 4.95
Royal Blue (survey)
#0504AA
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B89 #898517
analogous
#175489 #171B89 #4C1789
triadic
#171B89 #89171B #1B8917
tetradic
#171B89 #891754 #898517 #17894C
square
#171B89 #891754 #898517 #17894C
split-complementary
#171B89 #894C17 #548917
monochromatic
#050620 #0E1155 #171B89 #2025BD #3C42DE
Accessibility & contrast
On white
13.51
#171B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#171B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B89
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B89 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #171b89; /* rgb */ color: rgb(23, 27, 137); /* oklch */ color: oklch(31.9% 0.174 269.7);
Tailwind
colors: {
custom: {
50: '#6c59ad',
500: '#171b89',
950: '#000000',
},
}SCSS
$custom: #171b89; $custom-light: #6c59ad; $custom-dark: #000000;
JSON
{
"hex": "#171b89",
"rgb": {
"r": 23,
"g": 27,
"b": 137
},
"hsl": {
"h": 237.895,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31939,
"c": 0.17423,
"h": 269.7
},
"luminance": 0.02772
}Semantic roles & 50–950 ramp
primary
#171B89
secondary
#BDB83F
accent
#E83AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F