#17216F#17216F
#17216F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.134 H 270.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #17216F |
|---|---|
| RGB | rgb(23, 33, 111) |
| HSL | hsl(233, 66%, 26%) |
| HSV | hsv(233, 79%, 44%) |
| CMYK | cmyk(79.3%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(17.54, 25.88, -46.16) |
| CIE-LCH | lch(17.54, 52.92, 299.28°) |
| OKLab | oklab(29.96% 0.0002 -0.1336) |
| OKLCH | oklch(29.96% 0.134 270.1) |
| XYZ | xyz(3.7655, 2.4172, 15.3040) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Darkblue (survey)
#030764
ΔE00 6.47
Royal
#0C1793
ΔE00 6.53
Dark Royal Blue
#02066F
ΔE00 6.56
Deep Blue
#040273
ΔE00 7.31
Marine
#042E60
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17216F #6F6517
analogous
#174D6F #17216F #39176F
triadic
#17216F #6F1721 #216F17
tetradic
#17216F #6F174D #6F6517 #176F39
square
#17216F #6F174D #6F6517 #176F39
split-complementary
#17216F #6F3917 #4D6F17
monochromatic
#050819 #0C123C #17216F #2230A2 #2D40D3
Accessibility & contrast
On white
14.15
#17216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17216F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17216F | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17216f; /* rgb */ color: rgb(23, 33, 111); /* oklch */ color: oklch(30.0% 0.134 270.1);
Tailwind
colors: {
custom: {
50: '#645c99',
500: '#17216f',
950: '#000000',
},
}SCSS
$custom: #17216f; $custom-light: #645c99; $custom-dark: #000000;
JSON
{
"hex": "#17216f",
"rgb": {
"r": 23,
"g": 33,
"b": 111
},
"hsl": {
"h": 233.182,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.29957,
"c": 0.13356,
"h": 270.1
},
"luminance": 0.02418
}Semantic roles & 50–950 ramp
primary
#17216F
secondary
#A5993D
accent
#D53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E