#171687#171687
#171687 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.176 H 270.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #171687 |
|---|---|
| RGB | rgb(23, 22, 135) |
| HSL | hsl(241, 72%, 31%) |
| HSV | hsv(241, 84%, 53%) |
| CMYK | cmyk(83%, 83.7%, 0%, 47.1%) |
| CIE-LAB | lab(17.94, 41.20, -60.83) |
| CIE-LCH | lch(17.94, 73.47, 304.11°) |
| OKLab | oklab(31.05% 0.0007 -0.1761) |
| OKLCH | oklch(31.05% 0.176 270.2) |
| XYZ | xyz(5.0119, 2.5047, 23.1363) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.74
Darkblue
#00008B
ΔE00 3.48
Midnight Blue
#191970
ΔE00 3.79
Navy
#000080
ΔE00 3.86
Cobalt Blue
#030AA7
ΔE00 4.53
Deep Blue
#040273
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171687 #868716
analogous
#164D87 #171687 #4F1687
triadic
#171687 #871716 #168717
tetradic
#171687 #87164D #868716 #16874F
square
#171687 #87164D #868716 #16874F
split-complementary
#171687 #874F16 #4D8716
monochromatic
#05051E #0E0D52 #171687 #201FBC #3A39DF
Accessibility & contrast
On white
13.99
#171687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#171687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171687
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171687 | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002685
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #171687; /* rgb */ color: rgb(23, 22, 135); /* oklch */ color: oklch(31.1% 0.176 270.2);
Tailwind
colors: {
custom: {
50: '#6c56ab',
500: '#171687',
950: '#000000',
},
}SCSS
$custom: #171687; $custom-light: #6c56ab; $custom-dark: #000000;
JSON
{
"hex": "#171687",
"rgb": {
"r": 23,
"g": 22,
"b": 135
},
"hsl": {
"h": 240.531,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.31054,
"c": 0.17611,
"h": 270.2
},
"luminance": 0.02505
}Semantic roles & 50–950 ramp
primary
#171687
secondary
#BABB3E
accent
#EF39ED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F