#24299C#24299C
#24299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.181 H 271.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #24299C |
|---|---|
| RGB | rgb(36, 41, 156) |
| HSL | hsl(238, 63%, 38%) |
| HSV | hsv(238, 77%, 61%) |
| CMYK | cmyk(76.9%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(24.83, 38.66, -62.43) |
| CIE-LCH | lch(24.83, 73.43, 301.77°) |
| OKLab | oklab(36.82% 0.0046 -0.1807) |
| OKLCH | oklch(36.82% 0.181 271.5) |
| XYZ | xyz(7.5192, 4.3604, 31.8914) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.78
Royal Blue (survey)
#0504AA
ΔE00 6.32
Ultramarine
#2000B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24299C #9C9724
analogous
#24659C #24299C #5B249C
triadic
#24299C #9C2429 #299C24
tetradic
#24299C #9C2465 #9C9724 #249C5B
square
#24299C #9C2465 #9C9724 #249C5B
split-complementary
#24299C #9C5B24 #659C24
monochromatic
#0D0F39 #191C6A #24299C #2F36CE #6065DA
Accessibility & contrast
On white
11.22
#24299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#24299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24299C
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24299C | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #24299c; /* rgb */ color: rgb(36, 41, 156); /* oklch */ color: oklch(36.8% 0.181 271.5);
Tailwind
colors: {
custom: {
50: '#7464ba',
500: '#24299c',
950: '#000000',
},
}SCSS
$custom: #24299c; $custom-light: #7464ba; $custom-dark: #000000;
JSON
{
"hex": "#24299c",
"rgb": {
"r": 36,
"g": 41,
"b": 156
},
"hsl": {
"h": 237.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.36817,
"c": 0.18077,
"h": 271.5
},
"luminance": 0.04361
}Semantic roles & 50–950 ramp
primary
#24299C
secondary
#BFBB5C
accent
#DF42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81