#17159E#17159E
#17159E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.204 H 268.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #17159E |
|---|---|
| RGB | rgb(23, 21, 158) |
| HSL | hsl(241, 77%, 35%) |
| HSV | hsv(241, 87%, 62%) |
| CMYK | cmyk(85.4%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(20.78, 48.96, -70.39) |
| CIE-LCH | lch(20.78, 85.74, 304.82°) |
| OKLab | oklab(33.86% -0.0043 -0.2037) |
| OKLCH | oklch(33.86% 0.204 268.8) |
| XYZ | xyz(6.7910, 3.1863, 32.5982) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.76
Royal
#0C1793
ΔE00 1.76
Royal Blue (survey)
#0504AA
ΔE00 2.34
Ultramarine
#2000B1
ΔE00 3.19
Indigo Blue
#3A18B1
ΔE00 4.23
Darkblue
#00008B
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17159E #9C9E15
analogous
#15579E #17159E #5C159E
triadic
#17159E #9E1715 #159E17
tetradic
#17159E #9E1557 #9C9E15 #159E5C
square
#17159E #9E1557 #9C9E15 #159E5C
split-complementary
#17159E #9E5C15 #579E15
monochromatic
#070732 #0F0E68 #17159E #1F1CD4 #4947E7
Accessibility & contrast
On white
12.83
#17159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#17159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17159E
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17159E | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17159e; /* rgb */ color: rgb(23, 21, 158); /* oklch */ color: oklch(33.9% 0.204 268.8);
Tailwind
colors: {
custom: {
50: '#7258bc',
500: '#17159e',
950: '#000000',
},
}SCSS
$custom: #17159e; $custom-light: #7258bc; $custom-dark: #000000;
JSON
{
"hex": "#17159e",
"rgb": {
"r": 23,
"g": 21,
"b": 158
},
"hsl": {
"h": 240.876,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.33861,
"c": 0.20376,
"h": 268.8
},
"luminance": 0.03187
}Semantic roles & 50–950 ramp
primary
#17159E
secondary
#C6C747
accent
#F335F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981