#17297E#17297E
#17297E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.145 H 267.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #17297E |
|---|---|
| RGB | rgb(23, 41, 126) |
| HSL | hsl(230, 69%, 29%) |
| HSV | hsv(230, 82%, 49%) |
| CMYK | cmyk(81.7%, 67.5%, 0%, 50.6%) |
| CIE-LAB | lab(21.11, 26.28, -49.91) |
| CIE-LCH | lch(21.11, 56.41, 297.76°) |
| OKLab | oklab(33.02% -0.0055 -0.1445) |
| OKLCH | oklch(33.02% 0.145 267.8) |
| XYZ | xyz(4.9109, 3.2738, 20.1077) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.87
Royal
#0C1793
ΔE00 6.13
Marine
#042E60
ΔE00 6.99
Sapphire (survey)
#2138AB
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 8.20
Marine Blue
#01386A
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17297E #7E6C17
analogous
#175D7E #17297E #39177E
triadic
#17297E #7E1729 #297E17
tetradic
#17297E #7E175D #7E6C17 #177E39
square
#17297E #7E175D #7E6C17 #177E39
split-complementary
#17297E #7E3917 #5D7E17
monochromatic
#05081A #0E184A #17297E #203AB2 #3552DA
Accessibility & contrast
On white
12.69
#17297E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#17297E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17297E
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17297E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17297E | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #17297e; /* rgb */ color: rgb(23, 41, 126); /* oklch */ color: oklch(33.0% 0.145 267.8);
Tailwind
colors: {
custom: {
50: '#6762a4',
500: '#17297e',
950: '#000000',
},
}SCSS
$custom: #17297e; $custom-light: #6762a4; $custom-dark: #000000;
JSON
{
"hex": "#17297e",
"rgb": {
"r": 23,
"g": 41,
"b": 126
},
"hsl": {
"h": 229.515,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.33022,
"c": 0.14459,
"h": 267.8
},
"luminance": 0.03274
}Semantic roles & 50–950 ramp
primary
#17297E
secondary
#B39E3E
accent
#CD3CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F