#170C57#170C57
#170C57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.124 H 277.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).
Color values
| HEX | #170C57 |
|---|---|
| RGB | rgb(23, 12, 87) |
| HSL | hsl(249, 76%, 19%) |
| HSV | hsv(249, 86%, 34%) |
| CMYK | cmyk(73.6%, 86.2%, 0%, 65.9%) |
| CIE-LAB | lab(10.05, 30.29, -42.58) |
| CIE-LCH | lch(10.05, 52.26, 305.43°) |
| OKLab | oklab(23.81% 0.0171 -0.123) |
| OKLCH | oklch(23.81% 0.124 277.9) |
| XYZ | xyz(2.2046, 1.1330, 9.1175) |
| Luminance | 0.0113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.66
Dark Blue
#00035B
ΔE00 2.96
Darkblue (survey)
#030764
ΔE00 3.18
Night Blue
#040348
ΔE00 3.28
Dark Royal Blue
#02066F
ΔE00 4.68
Midnight Blue
#191970
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#170C57 #4C570C
analogous
#0C2757 #170C57 #3D0C57
triadic
#170C57 #57170C #0C5717
tetradic
#170C57 #570C27 #4C570C #0C573D
square
#170C57 #570C27 #4C570C #0C573D
split-complementary
#170C57 #573D0C #27570C
monochromatic
#07041B #090521 #170C57 #25138D #331BC3
Accessibility & contrast
On white
17.12
#170C57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#170C57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #170C57
17.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##170C57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##170C57 | 1.00 | 17.12 | 1.23 | 17.12 |
| #FFFFFF | 17.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001856
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #170c57; /* rgb */ color: rgb(23, 12, 87); /* oklch */ color: oklch(23.8% 0.124 277.9);
Tailwind
colors: {
custom: {
50: '#604d87',
500: '#170c57',
950: '#000000',
},
}SCSS
$custom: #170c57; $custom-light: #604d87; $custom-dark: #000000;
JSON
{
"hex": "#170c57",
"rgb": {
"r": 23,
"g": 12,
"b": 87
},
"hsl": {
"h": 248.8,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.2381,
"c": 0.12419,
"h": 277.9
},
"luminance": 0.01133
}Semantic roles & 50–950 ramp
primary
#170C57
secondary
#83922D
accent
#F235D7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C