#171886#171886
#171886 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.173 H 270.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #171886 |
|---|---|
| RGB | rgb(23, 24, 134) |
| HSL | hsl(239, 71%, 31%) |
| HSV | hsv(239, 83%, 53%) |
| CMYK | cmyk(82.8%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.17, 39.83, -59.82) |
| CIE-LCH | lch(18.17, 71.86, 303.66°) |
| OKLab | oklab(31.18% 0.0004 -0.1732) |
| OKLCH | oklch(31.18% 0.173 270.1) |
| XYZ | xyz(4.9816, 2.5561, 22.7805) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.89
Midnight Blue
#191970
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.92
Navy
#000080
ΔE00 4.24
Dark Royal Blue
#02066F
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171886 #868517
analogous
#175086 #171886 #4D1786
triadic
#171886 #861718 #188617
tetradic
#171886 #861750 #868517 #17864D
square
#171886 #861750 #868517 #17864D
split-complementary
#171886 #864D17 #508617
monochromatic
#05051E #0E0F52 #171886 #2021BA #3A3CDD
Accessibility & contrast
On white
13.89
#171886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#171886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171886
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171886 | 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)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #171886; /* rgb */ color: rgb(23, 24, 134); /* oklch */ color: oklch(31.2% 0.173 270.1);
Tailwind
colors: {
custom: {
50: '#6b57ab',
500: '#171886',
950: '#000000',
},
}SCSS
$custom: #171886; $custom-light: #6b57ab; $custom-dark: #000000;
JSON
{
"hex": "#171886",
"rgb": {
"r": 23,
"g": 24,
"b": 134
},
"hsl": {
"h": 239.459,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.31178,
"c": 0.17321,
"h": 270.1
},
"luminance": 0.02557
}Semantic roles & 50–950 ramp
primary
#171886
secondary
#BAB93F
accent
#EC3AED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F