#171560#171560
#171560 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.127 H 274.4°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).
Color values
| HEX | #171560 |
|---|---|
| RGB | rgb(23, 21, 96) |
| HSL | hsl(242, 64%, 23%) |
| HSV | hsv(242, 78%, 38%) |
| CMYK | cmyk(76%, 78.1%, 0%, 62.4%) |
| CIE-LAB | lab(13.00, 28.16, -43.77) |
| CIE-LCH | lch(13.00, 52.04, 302.75°) |
| OKLab | oklab(26.2% 0.0097 -0.1266) |
| OKLCH | oklch(26.2% 0.127 274.4) |
| XYZ | xyz(2.7321, 1.5628, 11.2217) |
| Luminance | 0.0156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Darkblue (survey)
#030764
ΔE00 3.68
Dark Indigo
#1F0954
ΔE00 3.85
Dark Blue
#00035B
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 4.64
Night Blue
#040348
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171560 #5E6015
analogous
#153860 #171560 #3C1560
triadic
#171560 #601715 #156017
tetradic
#171560 #601538 #5E6015 #15603C
square
#171560 #601538 #5E6015 #15603C
split-complementary
#171560 #603C15 #386015
monochromatic
#060519 #0B0A2E #171560 #232092 #2F2BC4
Accessibility & contrast
On white
16.00
#171560 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#171560 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171560
16.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171560 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171560 | 1.00 | 16.00 | 1.31 | 16.00 |
| #FFFFFF | 16.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #171560; /* rgb */ color: rgb(23, 21, 96); /* oklch */ color: oklch(26.2% 0.127 274.4);
Tailwind
colors: {
custom: {
50: '#61538e',
500: '#171560',
950: '#000000',
},
}SCSS
$custom: #171560; $custom-light: #61538e; $custom-dark: #000000;
JSON
{
"hex": "#171560",
"rgb": {
"r": 23,
"g": 21,
"b": 96
},
"hsl": {
"h": 241.6,
"s": 64.103,
"l": 22.941
},
"oklch": {
"l": 0.26202,
"c": 0.12694,
"h": 274.4
},
"luminance": 0.01563
}Semantic roles & 50–950 ramp
primary
#171560
secondary
#95973A
accent
#E741E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D