#17216E#17216E
#17216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.132 H 270.1°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #17216E |
|---|---|
| RGB | rgb(23, 33, 110) |
| HSL | hsl(233, 65%, 26%) |
| HSV | hsv(233, 79%, 43%) |
| CMYK | cmyk(79.1%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(17.44, 25.49, -45.68) |
| CIE-LCH | lch(17.44, 52.31, 299.16°) |
| OKLab | oklab(29.85% 0.0003 -0.1321) |
| OKLCH | oklch(29.85% 0.132 270.1) |
| XYZ | xyz(3.7107, 2.3953, 15.0156) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Darkblue (survey)
#030764
ΔE00 6.49
Dark Royal Blue
#02066F
ΔE00 6.63
Royal
#0C1793
ΔE00 6.70
Deep Blue
#040273
ΔE00 7.40
Marine
#042E60
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17216E #6E6417
analogous
#174C6E #17216E #38176E
triadic
#17216E #6E1721 #216E17
tetradic
#17216E #6E174C #6E6417 #176E38
square
#17216E #6E174C #6E6417 #176E38
split-complementary
#17216E #6E3817 #4C6E17
monochromatic
#050819 #0C123B #17216E #2230A1 #2C40D3
Accessibility & contrast
On white
14.20
#17216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17216E
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17216E | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17216e; /* rgb */ color: rgb(23, 33, 110); /* oklch */ color: oklch(29.9% 0.132 270.1);
Tailwind
colors: {
custom: {
50: '#645c98',
500: '#17216e',
950: '#000000',
},
}SCSS
$custom: #17216e; $custom-light: #645c98; $custom-dark: #000000;
JSON
{
"hex": "#17216e",
"rgb": {
"r": 23,
"g": 33,
"b": 110
},
"hsl": {
"h": 233.103,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.29852,
"c": 0.13215,
"h": 270.1
},
"luminance": 0.02396
}Semantic roles & 50–950 ramp
primary
#17216E
secondary
#A4983D
accent
#D53FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E