#17237E#17237E
#17237E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.152 H 269.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #17237E |
|---|---|
| RGB | rgb(23, 35, 126) |
| HSL | hsl(233, 69%, 29%) |
| HSV | hsv(233, 82%, 49%) |
| CMYK | cmyk(81.7%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.60, 30.33, -52.40) |
| CIE-LCH | lch(19.60, 60.54, 300.07°) |
| OKLab | oklab(31.92% -0.0024 -0.1518) |
| OKLCH | oklch(31.92% 0.152 269.1) |
| XYZ | xyz(4.7190, 2.8900, 20.0437) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.26
Royal
#0C1793
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 6.76
Darkblue
#00008B
ΔE00 7.21
Navy
#000080
ΔE00 7.24
Deep Blue
#040273
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17237E #7E7217
analogous
#17577E #17237E #3F177E
triadic
#17237E #7E1723 #237E17
tetradic
#17237E #7E1757 #7E7217 #177E3F
square
#17237E #7E1757 #7E7217 #177E3F
split-complementary
#17237E #7E3F17 #577E17
monochromatic
#05071A #0E154A #17237E #2031B2 #3548DA
Accessibility & contrast
On white
13.31
#17237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#17237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17237E
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17237E | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #17237e; /* rgb */ color: rgb(23, 35, 126); /* oklch */ color: oklch(31.9% 0.152 269.1);
Tailwind
colors: {
custom: {
50: '#685ea4',
500: '#17237e',
950: '#000000',
},
}SCSS
$custom: #17237e; $custom-light: #685ea4; $custom-dark: #000000;
JSON
{
"hex": "#17237e",
"rgb": {
"r": 23,
"g": 35,
"b": 126
},
"hsl": {
"h": 233.01,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.31922,
"c": 0.15178,
"h": 269.1
},
"luminance": 0.02891
}Semantic roles & 50–950 ramp
primary
#17237E
secondary
#B3A53E
accent
#D73CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F