#24237E#24237E
#24237E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.148 H 274.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #24237E |
|---|---|
| RGB | rgb(36, 35, 126) |
| HSL | hsl(241, 57%, 32%) |
| HSV | hsv(241, 72%, 49%) |
| CMYK | cmyk(71.4%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(20.37, 31.72, -51.09) |
| CIE-LCH | lch(20.37, 60.14, 301.84°) |
| OKLab | oklab(32.69% 0.0127 -0.1476) |
| OKLCH | oklch(32.69% 0.148 274.9) |
| XYZ | xyz(5.0932, 3.0830, 20.0613) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Royal
#0C1793
ΔE00 4.56
Dark Royal Blue
#02066F
ΔE00 6.74
Indigo (survey)
#380282
ΔE00 6.96
Darkblue
#00008B
ΔE00 7.08
Navy
#000080
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24237E #7D7E23
analogous
#23507E #24237E #52237E
triadic
#24237E #7E2423 #237E24
tetradic
#24237E #7E2350 #7D7E23 #237E52
square
#24237E #7E2350 #7D7E23 #237E52
split-complementary
#24237E #7E5223 #507E23
monochromatic
#09081E #16164E #24237E #3230AE #4F4ECE
Accessibility & contrast
On white
12.99
#24237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#24237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24237E
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24237E | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #24237e; /* rgb */ color: rgb(36, 35, 126); /* oklch */ color: oklch(32.7% 0.148 274.9);
Tailwind
colors: {
custom: {
50: '#6d5fa4',
500: '#24237e',
950: '#000000',
},
}SCSS
$custom: #24237e; $custom-light: #6d5fa4; $custom-dark: #000000;
JSON
{
"hex": "#24237e",
"rgb": {
"r": 36,
"g": 35,
"b": 126
},
"hsl": {
"h": 240.659,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.32689,
"c": 0.14819,
"h": 274.9
},
"luminance": 0.03083
}Semantic roles & 50–950 ramp
primary
#24237E
secondary
#AFB04C
accent
#E048DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F