#17156E#17156E
#17156E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.146 H 272.6°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).
Color values
| HEX | #17156E |
|---|---|
| RGB | rgb(23, 21, 110) |
| HSL | hsl(241, 68%, 26%) |
| HSV | hsv(241, 81%, 43%) |
| CMYK | cmyk(79.1%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(14.65, 33.22, -50.28) |
| CIE-LCH | lch(14.65, 60.26, 303.45°) |
| OKLab | oklab(27.85% 0.0066 -0.1455) |
| OKLCH | oklch(27.85% 0.146 272.6) |
| XYZ | xyz(3.4350, 1.8439, 14.9237) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.01
Dark Royal Blue
#02066F
ΔE00 3.23
Darkblue (survey)
#030764
ΔE00 3.32
Deep Blue
#040273
ΔE00 3.96
Dark Blue
#00035B
ΔE00 4.76
Navy
#000080
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17156E #6C6E15
analogous
#153F6E #17156E #43156E
triadic
#17156E #6E1715 #156E17
tetradic
#17156E #6E153F #6C6E15 #156E43
square
#17156E #6E153F #6C6E15 #156E43
split-complementary
#17156E #6E4315 #3F6E15
monochromatic
#05051A #0C0B3B #17156E #221FA1 #2C29D5
Accessibility & contrast
On white
15.34
#17156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#17156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17156E
15.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17156E | 1.00 | 15.34 | 1.37 | 15.34 |
| #FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #17156e; /* rgb */ color: rgb(23, 21, 110); /* oklch */ color: oklch(27.9% 0.146 272.6);
Tailwind
colors: {
custom: {
50: '#655499',
500: '#17156e',
950: '#000000',
},
}SCSS
$custom: #17156e; $custom-light: #655499; $custom-dark: #000000;
JSON
{
"hex": "#17156e",
"rgb": {
"r": 23,
"g": 21,
"b": 110
},
"hsl": {
"h": 241.348,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.27851,
"c": 0.14567,
"h": 272.6
},
"luminance": 0.01844
}Semantic roles & 50–950 ramp
primary
#17156E
secondary
#A2A43A
accent
#EB3DE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E