#171C86#171C86
#171C86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 269.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #171C86 |
|---|---|
| RGB | rgb(23, 28, 134) |
| HSL | hsl(237, 71%, 31%) |
| HSV | hsv(237, 83%, 53%) |
| CMYK | cmyk(82.8%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.94, 37.61, -58.54) |
| CIE-LCH | lch(18.94, 69.58, 302.72°) |
| OKLab | oklab(31.72% -0.0008 -0.1696) |
| OKLCH | oklch(31.72% 0.17 269.7) |
| XYZ | xyz(5.0702, 2.7333, 22.8100) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.22
Midnight Blue
#191970
ΔE00 3.43
Darkblue
#00008B
ΔE00 4.83
Navy
#000080
ΔE00 5.13
Cobalt Blue
#030AA7
ΔE00 5.29
Dark Royal Blue
#02066F
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C86 #868117
analogous
#175386 #171C86 #491786
triadic
#171C86 #86171C #1C8617
tetradic
#171C86 #861753 #868117 #178649
square
#171C86 #861753 #868117 #178649
split-complementary
#171C86 #864917 #538617
monochromatic
#05061E #0E1152 #171C86 #2027BA #3A42DD
Accessibility & contrast
On white
13.58
#171C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#171C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C86
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C86 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #171c86; /* rgb */ color: rgb(23, 28, 134); /* oklch */ color: oklch(31.7% 0.170 269.7);
Tailwind
colors: {
custom: {
50: '#6b5aaa',
500: '#171c86',
950: '#000000',
},
}SCSS
$custom: #171c86; $custom-light: #6b5aaa; $custom-dark: #000000;
JSON
{
"hex": "#171c86",
"rgb": {
"r": 23,
"g": 28,
"b": 134
},
"hsl": {
"h": 237.297,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.3172,
"c": 0.16956,
"h": 269.7
},
"luminance": 0.02734
}Semantic roles & 50–950 ramp
primary
#171C86
secondary
#BAB43F
accent
#E53AED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F