#17236E#17236E
#17236E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.130 H 269.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #17236E |
|---|---|
| RGB | rgb(23, 35, 110) |
| HSL | hsl(232, 65%, 26%) |
| HSV | hsv(232, 79%, 43%) |
| CMYK | cmyk(79.1%, 68.2%, 0%, 56.9%) |
| CIE-LAB | lab(17.96, 24.10, -44.82) |
| CIE-LCH | lch(17.96, 50.89, 298.27°) |
| OKLab | oklab(30.24% -0.001 -0.1296) |
| OKLCH | oklch(30.24% 0.13 269.6) |
| XYZ | xyz(3.7679, 2.5096, 15.0347) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Marine
#042E60
ΔE00 6.80
Royal
#0C1793
ΔE00 7.08
Darkblue (survey)
#030764
ΔE00 7.14
Dark Royal Blue
#02066F
ΔE00 7.29
Navy Blue (survey)
#001146
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17236E #6E6217
analogous
#174E6E #17236E #36176E
triadic
#17236E #6E1723 #236E17
tetradic
#17236E #6E174E #6E6217 #176E36
square
#17236E #6E174E #6E6217 #176E36
split-complementary
#17236E #6E3617 #4E6E17
monochromatic
#050819 #0C133B #17236E #2233A1 #2C43D3
Accessibility & contrast
On white
13.98
#17236E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#17236E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17236E
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17236E | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #17236e; /* rgb */ color: rgb(23, 35, 110); /* oklch */ color: oklch(30.2% 0.130 269.6);
Tailwind
colors: {
custom: {
50: '#645d98',
500: '#17236e',
950: '#000000',
},
}SCSS
$custom: #17236e; $custom-light: #645d98; $custom-dark: #000000;
JSON
{
"hex": "#17236e",
"rgb": {
"r": 23,
"g": 35,
"b": 110
},
"hsl": {
"h": 231.724,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.30235,
"c": 0.12962,
"h": 269.6
},
"luminance": 0.0251
}Semantic roles & 50–950 ramp
primary
#17236E
secondary
#A4963D
accent
#D13FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E