#17208F#17208F
#17208F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.177 H 268.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #17208F |
|---|---|
| RGB | rgb(23, 32, 143) |
| HSL | hsl(236, 72%, 33%) |
| HSV | hsv(236, 84%, 56%) |
| CMYK | cmyk(83.9%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(20.82, 38.44, -61.06) |
| CIE-LCH | lch(20.82, 72.15, 302.19°) |
| OKLab | oklab(33.36% -0.0035 -0.1769) |
| OKLCH | oklch(33.36% 0.177 268.9) |
| XYZ | xyz(5.8261, 3.1977, 26.2914) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Cobalt Blue
#030AA7
ΔE00 4.84
Midnight Blue
#191970
ΔE00 4.85
Royal Blue (survey)
#0504AA
ΔE00 5.46
Darkblue
#00008B
ΔE00 5.62
Navy
#000080
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17208F #8F8617
analogous
#175C8F #17208F #4A178F
triadic
#17208F #8F1720 #208F17
tetradic
#17208F #8F175C #8F8617 #178F4A
square
#17208F #8F175C #8F8617 #178F4A
split-complementary
#17208F #8F4A17 #5C8F17
monochromatic
#060826 #0F145A #17208F #1F2CC4 #404CE0
Accessibility & contrast
On white
12.81
#17208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#17208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17208F
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17208F | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17208f; /* rgb */ color: rgb(23, 32, 143); /* oklch */ color: oklch(33.4% 0.177 268.9);
Tailwind
colors: {
custom: {
50: '#6d5db1',
500: '#17208f',
950: '#000000',
},
}SCSS
$custom: #17208f; $custom-light: #6d5db1; $custom-dark: #000000;
JSON
{
"hex": "#17208f",
"rgb": {
"r": 23,
"g": 32,
"b": 143
},
"hsl": {
"h": 235.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.33356,
"c": 0.17696,
"h": 268.9
},
"luminance": 0.03198
}Semantic roles & 50–950 ramp
primary
#17208F
secondary
#C1B741
accent
#E139EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980