#17217F#17217F
#17217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.155 H 269.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #17217F |
|---|---|
| RGB | rgb(23, 33, 127) |
| HSL | hsl(234, 69%, 29%) |
| HSV | hsv(234, 82%, 50%) |
| CMYK | cmyk(81.9%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.23, 32.01, -53.64) |
| CIE-LCH | lch(19.23, 62.46, 300.83°) |
| OKLab | oklab(31.69% -0.0015 -0.1554) |
| OKLCH | oklch(31.69% 0.155 269.4) |
| XYZ | xyz(4.7267, 2.8016, 20.3662) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.94
Royal
#0C1793
ΔE00 4.02
Dark Royal Blue
#02066F
ΔE00 6.22
Darkblue
#00008B
ΔE00 6.56
Navy
#000080
ΔE00 6.60
Deep Blue
#040273
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17217F #7F7517
analogous
#17557F #17217F #41177F
triadic
#17217F #7F1721 #217F17
tetradic
#17217F #7F1755 #7F7517 #177F41
square
#17217F #7F1755 #7F7517 #177F41
split-complementary
#17217F #7F4117 #557F17
monochromatic
#05071A #0E144B #17217F #202EB3 #3646DB
Accessibility & contrast
On white
13.46
#17217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#17217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17217F
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17217F | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #17217f; /* rgb */ color: rgb(23, 33, 127); /* oklch */ color: oklch(31.7% 0.155 269.4);
Tailwind
colors: {
custom: {
50: '#695da5',
500: '#17217f',
950: '#000000',
},
}SCSS
$custom: #17217f; $custom-light: #695da5; $custom-dark: #000000;
JSON
{
"hex": "#17217f",
"rgb": {
"r": 23,
"g": 33,
"b": 127
},
"hsl": {
"h": 234.231,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.3169,
"c": 0.15537,
"h": 269.4
},
"luminance": 0.02802
}Semantic roles & 50–950 ramp
primary
#17217F
secondary
#B4A83E
accent
#DB3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F