#17169E#17169E
#17169E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 268.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #17169E |
|---|---|
| RGB | rgb(23, 22, 158) |
| HSL | hsl(240, 76%, 35%) |
| HSV | hsv(240, 86%, 62%) |
| CMYK | cmyk(85.4%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(20.92, 48.53, -70.15) |
| CIE-LCH | lch(20.92, 85.30, 304.68°) |
| OKLab | oklab(33.96% -0.0044 -0.203) |
| OKLCH | oklch(33.96% 0.203 268.8) |
| XYZ | xyz(6.8097, 3.2238, 32.6045) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.73
Cobalt Blue
#030AA7
ΔE00 1.89
Royal Blue (survey)
#0504AA
ΔE00 2.47
Ultramarine
#2000B1
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17169E #9D9E16
analogous
#16599E #17169E #5B169E
triadic
#17169E #9E1716 #169E17
tetradic
#17169E #9E1659 #9D9E16 #169E5B
square
#17169E #9E1659 #9D9E16 #169E5B
split-complementary
#17169E #9E5B16 #599E16
monochromatic
#070733 #0F0F68 #17169E #1F1DD4 #4A49E6
Accessibility & contrast
On white
12.77
#17169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#17169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17169E
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17169E | 1.00 | 12.77 | 1.65 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17169e; /* rgb */ color: rgb(23, 22, 158); /* oklch */ color: oklch(34.0% 0.203 268.8);
Tailwind
colors: {
custom: {
50: '#7258bc',
500: '#17169e',
950: '#000000',
},
}SCSS
$custom: #17169e; $custom-light: #7258bc; $custom-dark: #000000;
JSON
{
"hex": "#17169e",
"rgb": {
"r": 23,
"g": 22,
"b": 158
},
"hsl": {
"h": 240.441,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.3396,
"c": 0.2031,
"h": 268.8
},
"luminance": 0.03225
}Semantic roles & 50–950 ramp
primary
#17169E
secondary
#C6C749
accent
#F236F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981