#24249B#24249B
#24249B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.185 H 272.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #24249B |
|---|---|
| RGB | rgb(36, 36, 155) |
| HSL | hsl(240, 62%, 37%) |
| HSV | hsv(240, 77%, 61%) |
| CMYK | cmyk(76.8%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(23.68, 41.24, -63.71) |
| CIE-LCH | lch(23.68, 75.89, 302.91°) |
| OKLab | oklab(35.97% 0.007 -0.1844) |
| OKLCH | oklch(35.97% 0.185 272.2) |
| XYZ | xyz(7.2728, 4.0026, 31.3933) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.27
Indigo Blue
#3A18B1
ΔE00 4.53
Cobalt Blue
#030AA7
ΔE00 4.66
Royal Blue (survey)
#0504AA
ΔE00 5.21
Ultramarine
#2000B1
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24249B #9B9B24
analogous
#24609B #24249B #60249B
triadic
#24249B #9B2424 #249B24
tetradic
#24249B #9B2460 #9B9B24 #249B60
square
#24249B #9B2460 #9B9B24 #249B60
split-complementary
#24249B #9B6024 #609B24
monochromatic
#0D0D38 #181869 #24249B #3030CD #5F5FDA
Accessibility & contrast
On white
11.66
#24249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#24249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24249B
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24249B | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #24249b; /* rgb */ color: rgb(36, 36, 155); /* oklch */ color: oklch(36.0% 0.185 272.2);
Tailwind
colors: {
custom: {
50: '#7461ba',
500: '#24249b',
950: '#000000',
},
}SCSS
$custom: #24249b; $custom-light: #7461ba; $custom-dark: #000000;
JSON
{
"hex": "#24249b",
"rgb": {
"r": 36,
"g": 36,
"b": 155
},
"hsl": {
"h": 240,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.35969,
"c": 0.18455,
"h": 272.2
},
"luminance": 0.04003
}Semantic roles & 50–950 ramp
primary
#24249B
secondary
#BFBF5C
accent
#E542E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981