#24207F#24207F
#24207F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.153 H 275.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #24207F |
|---|---|
| RGB | rgb(36, 32, 127) |
| HSL | hsl(243, 60%, 31%) |
| HSV | hsv(243, 75%, 50%) |
| CMYK | cmyk(71.7%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(19.80, 33.94, -52.67) |
| CIE-LCH | lch(19.80, 62.66, 302.80°) |
| OKLab | oklab(32.31% 0.0145 -0.1522) |
| OKLCH | oklch(32.31% 0.153 275.4) |
| XYZ | xyz(5.0736, 2.9399, 20.3746) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 6.06
Indigo (survey)
#380282
ΔE00 6.12
Darkblue
#00008B
ΔE00 6.24
Navy
#000080
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24207F #7B7F20
analogous
#204B7F #24207F #53207F
triadic
#24207F #7F2420 #207F24
tetradic
#24207F #7F204B #7B7F20 #207F53
square
#24207F #7F204B #7B7F20 #207F53
split-complementary
#24207F #7F5320 #4B7F20
monochromatic
#08071D #16144E #24207F #322CB0 #4E48D1
Accessibility & contrast
On white
13.22
#24207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#24207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24207F
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24207F | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #24207f; /* rgb */ color: rgb(36, 32, 127); /* oklch */ color: oklch(32.3% 0.153 275.4);
Tailwind
colors: {
custom: {
50: '#6d5da5',
500: '#24207f',
950: '#000000',
},
}SCSS
$custom: #24207f; $custom-light: #6d5da5; $custom-dark: #000000;
JSON
{
"hex": "#24207f",
"rgb": {
"r": 36,
"g": 32,
"b": 127
},
"hsl": {
"h": 242.526,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.32311,
"c": 0.15292,
"h": 275.4
},
"luminance": 0.0294
}Semantic roles & 50–950 ramp
primary
#24207F
secondary
#ADB249
accent
#E345DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F