#17147E#17147E
#17147E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.167 H 271.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #17147E |
|---|---|
| RGB | rgb(23, 20, 126) |
| HSL | hsl(242, 73%, 29%) |
| HSV | hsv(242, 84%, 49%) |
| CMYK | cmyk(81.7%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(16.45, 39.24, -57.61) |
| CIE-LCH | lch(16.45, 69.71, 304.26°) |
| OKLab | oklab(29.69% 0.0032 -0.1667) |
| OKLCH | oklch(29.69% 0.167 271.1) |
| XYZ | xyz(4.3681, 2.1883, 19.9268) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.74
Royal
#0C1793
ΔE00 3.07
Navy
#000080
ΔE00 3.43
Dark Royal Blue
#02066F
ΔE00 3.49
Darkblue
#00008B
ΔE00 3.63
Deep Blue
#040273
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17147E #7B7E14
analogous
#14467E #17147E #4C147E
triadic
#17147E #7E1714 #147E17
tetradic
#17147E #7E1446 #7B7E14 #147E4C
square
#17147E #7E1446 #7B7E14 #147E4C
split-complementary
#17147E #7E4C14 #467E14
monochromatic
#05041A #0D0C49 #17147E #211CB3 #332EDE
Accessibility & contrast
On white
14.61
#17147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#17147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17147E
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17147E | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #17147e; /* rgb */ color: rgb(23, 20, 126); /* oklch */ color: oklch(29.7% 0.167 271.1);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#17147e',
950: '#000000',
},
}SCSS
$custom: #17147e; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#17147e",
"rgb": {
"r": 23,
"g": 20,
"b": 126
},
"hsl": {
"h": 241.698,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.29687,
"c": 0.16678,
"h": 271.1
},
"luminance": 0.02189
}Semantic roles & 50–950 ramp
primary
#17147E
secondary
#B0B33A
accent
#EF38EA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F