#171689#171689
#171689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.179 H 270.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #171689 |
|---|---|
| RGB | rgb(23, 22, 137) |
| HSL | hsl(241, 72%, 31%) |
| HSV | hsv(241, 84%, 54%) |
| CMYK | cmyk(83.2%, 83.9%, 0%, 46.3%) |
| CIE-LAB | lab(18.19, 41.86, -61.66) |
| CIE-LCH | lch(18.19, 74.53, 304.17°) |
| OKLab | oklab(31.3% 0.0002 -0.1785) |
| OKLCH | oklch(31.3% 0.179 270.1) |
| XYZ | xyz(5.1541, 2.5615, 23.8848) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.47
Darkblue
#00008B
ΔE00 3.43
Navy
#000080
ΔE00 3.93
Midnight Blue
#191970
ΔE00 4.07
Cobalt Blue
#030AA7
ΔE00 4.26
Royal Blue (survey)
#0504AA
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171689 #888916
analogous
#164E89 #171689 #501689
triadic
#171689 #891716 #168917
tetradic
#171689 #89164E #888916 #168950
square
#171689 #89164E #888916 #168950
split-complementary
#171689 #895016 #4E8916
monochromatic
#050520 #0E0E54 #171689 #201EBE #3B3ADF
Accessibility & contrast
On white
13.89
#171689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#171689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171689
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171689 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #171689; /* rgb */ color: rgb(23, 22, 137); /* oklch */ color: oklch(31.3% 0.179 270.1);
Tailwind
colors: {
custom: {
50: '#6c57ad',
500: '#171689',
950: '#000000',
},
}SCSS
$custom: #171689; $custom-light: #6c57ad; $custom-dark: #000000;
JSON
{
"hex": "#171689",
"rgb": {
"r": 23,
"g": 22,
"b": 137
},
"hsl": {
"h": 240.522,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.31304,
"c": 0.17852,
"h": 270.1
},
"luminance": 0.02562
}Semantic roles & 50–950 ramp
primary
#171689
secondary
#BCBD3E
accent
#EF39ED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F