#17237F#17237F
#17237F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.153 H 269.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #17237F |
|---|---|
| RGB | rgb(23, 35, 127) |
| HSL | hsl(233, 69%, 29%) |
| HSV | hsv(233, 82%, 50%) |
| CMYK | cmyk(81.9%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.70, 30.71, -52.86) |
| CIE-LCH | lch(19.70, 61.13, 300.16°) |
| OKLab | oklab(32.03% -0.0025 -0.1531) |
| OKLCH | oklch(32.03% 0.153 269.1) |
| XYZ | xyz(4.7838, 2.9160, 20.3853) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 4.45
Dark Royal Blue
#02066F
ΔE00 6.77
Darkblue
#00008B
ΔE00 7.13
Navy
#000080
ΔE00 7.19
Deep Blue
#040273
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17237F #7F7317
analogous
#17577F #17237F #3F177F
triadic
#17237F #7F1723 #237F17
tetradic
#17237F #7F1757 #7F7317 #177F3F
square
#17237F #7F1757 #7F7317 #177F3F
split-complementary
#17237F #7F3F17 #577F17
monochromatic
#05071A #0E154B #17237F #2031B3 #3649DB
Accessibility & contrast
On white
13.26
#17237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#17237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17237F
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17237F | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #17237f; /* rgb */ color: rgb(23, 35, 127); /* oklch */ color: oklch(32.0% 0.153 269.1);
Tailwind
colors: {
custom: {
50: '#685ea5',
500: '#17237f',
950: '#000000',
},
}SCSS
$custom: #17237f; $custom-light: #685ea5; $custom-dark: #000000;
JSON
{
"hex": "#17237f",
"rgb": {
"r": 23,
"g": 35,
"b": 127
},
"hsl": {
"h": 233.077,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32031,
"c": 0.15312,
"h": 269.1
},
"luminance": 0.02917
}Semantic roles & 50–950 ramp
primary
#17237F
secondary
#B4A63E
accent
#D83CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F