#17298F#17298F
#17298F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.167 H 267.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #17298F |
|---|---|
| RGB | rgb(23, 41, 143) |
| HSL | hsl(231, 72%, 33%) |
| HSV | hsv(231, 84%, 56%) |
| CMYK | cmyk(83.9%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(22.83, 32.85, -57.74) |
| CIE-LCH | lch(22.83, 66.43, 299.63°) |
| OKLab | oklab(34.8% -0.0067 -0.1673) |
| OKLCH | oklch(34.8% 0.167 267.7) |
| XYZ | xyz(6.1025, 3.7505, 26.3836) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 5.45
Midnight Blue
#191970
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 6.89
Indigo Blue
#3A18B1
ΔE00 7.43
Royal Blue (survey)
#0504AA
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17298F #8F7D17
analogous
#17658F #17298F #41178F
triadic
#17298F #8F1729 #298F17
tetradic
#17298F #8F1765 #8F7D17 #178F41
square
#17298F #8F1765 #8F7D17 #178F41
split-complementary
#17298F #8F4117 #658F17
monochromatic
#060B26 #0F1A5A #17298F #1F38C4 #4058E0
Accessibility & contrast
On white
12.00
#17298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#17298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17298F
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17298F | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #17298f; /* rgb */ color: rgb(23, 41, 143); /* oklch */ color: oklch(34.8% 0.167 267.7);
Tailwind
colors: {
custom: {
50: '#6c63b1',
500: '#17298f',
950: '#000000',
},
}SCSS
$custom: #17298f; $custom-light: #6c63b1; $custom-dark: #000000;
JSON
{
"hex": "#17298f",
"rgb": {
"r": 23,
"g": 41,
"b": 143
},
"hsl": {
"h": 231,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.34797,
"c": 0.16746,
"h": 267.7
},
"luminance": 0.03751
}Semantic roles & 50–950 ramp
primary
#17298F
secondary
#C1AE41
accent
#D439EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980