#17156F#17156F
#17156F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.147 H 272.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #17156F |
|---|---|
| RGB | rgb(23, 21, 111) |
| HSL | hsl(241, 68%, 26%) |
| HSV | hsv(241, 81%, 44%) |
| CMYK | cmyk(79.3%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(14.77, 33.57, -50.73) |
| CIE-LCH | lch(14.77, 60.83, 303.49°) |
| OKLab | oklab(27.97% 0.0064 -0.1468) |
| OKLCH | oklch(27.97% 0.147 272.5) |
| XYZ | xyz(3.4898, 1.8658, 15.2121) |
| Luminance | 0.0187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.00
Dark Royal Blue
#02066F
ΔE00 3.19
Darkblue (survey)
#030764
ΔE00 3.37
Deep Blue
#040273
ΔE00 3.89
Navy
#000080
ΔE00 4.76
Dark Blue
#00035B
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17156F #6D6F15
analogous
#15406F #17156F #44156F
triadic
#17156F #6F1715 #156F17
tetradic
#17156F #6F1540 #6D6F15 #156F44
square
#17156F #6F1540 #6D6F15 #156F44
split-complementary
#17156F #6F4415 #406F15
monochromatic
#05051A #0C0B3C #17156F #221FA2 #2C28D6
Accessibility & contrast
On white
15.29
#17156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#17156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17156F
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17156F | 1.00 | 15.29 | 1.37 | 15.29 |
| #FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #17156f; /* rgb */ color: rgb(23, 21, 111); /* oklch */ color: oklch(28.0% 0.147 272.5);
Tailwind
colors: {
custom: {
50: '#655499',
500: '#17156f',
950: '#000000',
},
}SCSS
$custom: #17156f; $custom-light: #655499; $custom-dark: #000000;
JSON
{
"hex": "#17156f",
"rgb": {
"r": 23,
"g": 21,
"b": 111
},
"hsl": {
"h": 241.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.27972,
"c": 0.14697,
"h": 272.5
},
"luminance": 0.01866
}Semantic roles & 50–950 ramp
primary
#17156F
secondary
#A3A53A
accent
#EB3DE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E