#17215C#17215C
#17215C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.106 H 270.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #17215C |
|---|---|
| RGB | rgb(23, 33, 92) |
| HSL | hsl(231, 60%, 23%) |
| HSV | hsv(231, 75%, 36%) |
| CMYK | cmyk(75%, 64.1%, 0%, 63.9%) |
| CIE-LAB | lab(15.71, 18.27, -36.66) |
| CIE-LCH | lch(15.71, 40.96, 296.49°) |
| OKLab | oklab(28.05% 0.0012 -0.1057) |
| OKLCH | oklch(28.05% 0.106 270.6) |
| XYZ | xyz(2.8283, 2.0423, 10.3683) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 5.23
Midnight Blue
#191970
ΔE00 5.40
Navy (survey)
#01153E
ΔE00 5.97
Marine
#042E60
ΔE00 6.29
Navy Blue
#1B2A4A
ΔE00 6.49
Dark Indigo
#1F0954
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17215C #5C5217
analogous
#17445C #17215C #2F175C
triadic
#17215C #5C1721 #215C17
tetradic
#17215C #5C1744 #5C5217 #175C2F
square
#17215C #5C1744 #5C5217 #175C2F
split-complementary
#17215C #5C2F17 #445C17
monochromatic
#060918 #0B0F2B #17215C #23338D #2F44BE
Accessibility & contrast
On white
14.91
#17215C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#17215C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17215C
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17215C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17215C | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #17215c; /* rgb */ color: rgb(23, 33, 92); /* oklch */ color: oklch(28.0% 0.106 270.6);
Tailwind
colors: {
custom: {
50: '#5f5c8b',
500: '#17215c',
950: '#000000',
},
}SCSS
$custom: #17215c; $custom-light: #5f5c8b; $custom-dark: #000000;
JSON
{
"hex": "#17215c",
"rgb": {
"r": 23,
"g": 33,
"b": 92
},
"hsl": {
"h": 231.304,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.28046,
"c": 0.10574,
"h": 270.6
},
"luminance": 0.02043
}Semantic roles & 50–950 ramp
primary
#17215C
secondary
#93863C
accent
#CC45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D