#24207B#24207B
#24207B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.148 H 275.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #24207B |
|---|---|
| RGB | rgb(36, 32, 123) |
| HSL | hsl(243, 59%, 30%) |
| HSV | hsv(243, 74%, 48%) |
| CMYK | cmyk(70.7%, 74%, 0%, 51.8%) |
| CIE-LAB | lab(19.38, 32.54, -50.82) |
| CIE-LCH | lch(19.38, 60.34, 302.63°) |
| OKLab | oklab(31.89% 0.0153 -0.1468) |
| OKLCH | oklch(31.89% 0.148 275.9) |
| XYZ | xyz(4.8180, 2.8377, 19.0289) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 4.48
Dark Royal Blue
#02066F
ΔE00 5.97
Indigo (survey)
#380282
ΔE00 6.34
Deep Blue
#040273
ΔE00 6.40
Navy
#000080
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24207B #777B20
analogous
#204A7B #24207B #51207B
triadic
#24207B #7B2420 #207B24
tetradic
#24207B #7B204A #777B20 #207B51
square
#24207B #7B204A #777B20 #207B51
split-complementary
#24207B #7B5120 #4A7B20
monochromatic
#08071A #16134A #24207B #322DAC #4C46CF
Accessibility & contrast
On white
13.40
#24207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#24207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24207B
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24207B | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #24207b; /* rgb */ color: rgb(36, 32, 123); /* oklch */ color: oklch(31.9% 0.148 275.9);
Tailwind
colors: {
custom: {
50: '#6c5ca2',
500: '#24207b',
950: '#000000',
},
}SCSS
$custom: #24207b; $custom-light: #6c5ca2; $custom-dark: #000000;
JSON
{
"hex": "#24207b",
"rgb": {
"r": 36,
"g": 32,
"b": 123
},
"hsl": {
"h": 242.637,
"s": 58.71,
"l": 30.392
},
"oklch": {
"l": 0.31885,
"c": 0.14761,
"h": 275.9
},
"luminance": 0.02838
}Semantic roles & 50–950 ramp
primary
#24207B
secondary
#AAAE49
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F