#171889#171889
#171889 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.177 H 269.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #171889 |
|---|---|
| RGB | rgb(23, 24, 137) |
| HSL | hsl(239, 71%, 31%) |
| HSV | hsv(239, 83%, 54%) |
| CMYK | cmyk(83.2%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(18.54, 40.84, -61.08) |
| CIE-LCH | lch(18.54, 73.48, 303.77°) |
| OKLab | oklab(31.55% -0.0002 -0.1769) |
| OKLCH | oklch(31.55% 0.177 269.9) |
| XYZ | xyz(5.1938, 2.6410, 23.8981) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.47
Darkblue
#00008B
ΔE00 3.84
Midnight Blue
#191970
ΔE00 3.96
Navy
#000080
ΔE00 4.32
Cobalt Blue
#030AA7
ΔE00 4.42
Royal Blue (survey)
#0504AA
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171889 #898817
analogous
#175189 #171889 #4F1789
triadic
#171889 #891718 #188917
tetradic
#171889 #891751 #898817 #17894F
square
#171889 #891751 #898817 #17894F
split-complementary
#171889 #894F17 #518917
monochromatic
#050620 #0E0F55 #171889 #2021BD #3C3EDE
Accessibility & contrast
On white
13.74
#171889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#171889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171889
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171889 | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #171889; /* rgb */ color: rgb(23, 24, 137); /* oklch */ color: oklch(31.5% 0.177 269.9);
Tailwind
colors: {
custom: {
50: '#6c58ad',
500: '#171889',
950: '#000000',
},
}SCSS
$custom: #171889; $custom-light: #6c58ad; $custom-dark: #000000;
JSON
{
"hex": "#171889",
"rgb": {
"r": 23,
"g": 24,
"b": 137
},
"hsl": {
"h": 239.474,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31547,
"c": 0.17688,
"h": 269.9
},
"luminance": 0.02642
}Semantic roles & 50–950 ramp
primary
#171889
secondary
#BDBC3F
accent
#EC3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F