#17147F#17147F
#17147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.168 H 271.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #17147F |
|---|---|
| RGB | rgb(23, 20, 127) |
| HSL | hsl(242, 73%, 29%) |
| HSV | hsv(242, 84%, 50%) |
| CMYK | cmyk(81.9%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(16.57, 39.57, -58.03) |
| CIE-LCH | lch(16.57, 70.24, 304.29°) |
| OKLab | oklab(29.81% 0.003 -0.168) |
| OKLCH | oklch(29.81% 0.168 271) |
| XYZ | xyz(4.4330, 2.2143, 20.2683) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Royal
#0C1793
ΔE00 2.92
Navy
#000080
ΔE00 3.41
Darkblue
#00008B
ΔE00 3.55
Dark Royal Blue
#02066F
ΔE00 3.58
Deep Blue
#040273
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17147F #7C7F14
analogous
#14477F #17147F #4D147F
triadic
#17147F #7F1714 #147F17
tetradic
#17147F #7F1447 #7C7F14 #147F4D
square
#17147F #7F1447 #7C7F14 #147F4D
split-complementary
#17147F #7F4D14 #477F14
monochromatic
#05041A #0D0C4A #17147F #211CB4 #342FDE
Accessibility & contrast
On white
14.55
#17147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#17147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17147F
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17147F | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #17147f; /* rgb */ color: rgb(23, 20, 127); /* oklch */ color: oklch(29.8% 0.168 271.0);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#17147f',
950: '#000000',
},
}SCSS
$custom: #17147f; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#17147f",
"rgb": {
"r": 23,
"g": 20,
"b": 127
},
"hsl": {
"h": 241.682,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.29812,
"c": 0.16801,
"h": 271
},
"luminance": 0.02215
}Semantic roles & 50–950 ramp
primary
#17147F
secondary
#B1B43B
accent
#EF38EA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F