#24299E#24299E
#24299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.183 H 271.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #24299E |
|---|---|
| RGB | rgb(36, 41, 158) |
| HSL | hsl(238, 63%, 38%) |
| HSV | hsv(238, 77%, 62%) |
| CMYK | cmyk(77.2%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.04, 39.35, -63.30) |
| CIE-LCH | lch(25.04, 74.53, 301.87°) |
| OKLab | oklab(37.03% 0.0043 -0.1832) |
| OKLCH | oklch(37.03% 0.183 271.4) |
| XYZ | xyz(7.6900, 4.4287, 32.7907) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Royal
#0C1793
ΔE00 4.44
Indigo Blue
#3A18B1
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.69
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24299E #9E9924
analogous
#24669E #24299E #5C249E
triadic
#24299E #9E2429 #299E24
tetradic
#24299E #9E2466 #9E9924 #249E5C
square
#24299E #9E2466 #9E9924 #249E5C
split-complementary
#24299E #9E5C24 #669E24
monochromatic
#0D0F3A #191C6C #24299E #2F36D0 #6166DB
Accessibility & contrast
On white
11.13
#24299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#24299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24299E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24299E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #24299e; /* rgb */ color: rgb(36, 41, 158); /* oklch */ color: oklch(37.0% 0.183 271.4);
Tailwind
colors: {
custom: {
50: '#7464bc',
500: '#24299e',
950: '#000000',
},
}SCSS
$custom: #24299e; $custom-light: #7464bc; $custom-dark: #000000;
JSON
{
"hex": "#24299e",
"rgb": {
"r": 36,
"g": 41,
"b": 158
},
"hsl": {
"h": 237.541,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.37032,
"c": 0.1833,
"h": 271.4
},
"luminance": 0.0443
}Semantic roles & 50–950 ramp
primary
#24299E
secondary
#C0BC5E
accent
#DF42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81