#17298E#17298E
#17298E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.166 H 267.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #17298E |
|---|---|
| RGB | rgb(23, 41, 142) |
| HSL | hsl(231, 72%, 32%) |
| HSV | hsv(231, 84%, 56%) |
| CMYK | cmyk(83.8%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(22.72, 32.47, -57.29) |
| CIE-LCH | lch(22.72, 65.85, 299.54°) |
| OKLab | oklab(34.69% -0.0067 -0.166) |
| OKLCH | oklch(34.69% 0.166 267.7) |
| XYZ | xyz(6.0271, 3.7203, 25.9864) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 5.54
Midnight Blue
#191970
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.56
Royal Blue (survey)
#0504AA
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17298E #8E7C17
analogous
#17658E #17298E #40178E
triadic
#17298E #8E1729 #298E17
tetradic
#17298E #8E1765 #8E7C17 #178E40
square
#17298E #8E1765 #8E7C17 #178E40
split-complementary
#17298E #8E4017 #658E17
monochromatic
#060B25 #0E1A59 #17298E #2038C3 #3F58E0
Accessibility & contrast
On white
12.04
#17298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#17298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17298E
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17298E | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #17298e; /* rgb */ color: rgb(23, 41, 142); /* oklch */ color: oklch(34.7% 0.166 267.7);
Tailwind
colors: {
custom: {
50: '#6c63b0',
500: '#17298e',
950: '#000000',
},
}SCSS
$custom: #17298e; $custom-light: #6c63b0; $custom-dark: #000000;
JSON
{
"hex": "#17298e",
"rgb": {
"r": 23,
"g": 41,
"b": 142
},
"hsl": {
"h": 230.924,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.3469,
"c": 0.16615,
"h": 267.7
},
"luminance": 0.03721
}Semantic roles & 50–950 ramp
primary
#17298E
secondary
#C0AD40
accent
#D339EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980