#24219F#24219F
#24219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.192 H 272.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #24219F |
|---|---|
| RGB | rgb(36, 33, 159) |
| HSL | hsl(241, 66%, 38%) |
| HSV | hsv(241, 79%, 62%) |
| CMYK | cmyk(77.4%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(23.56, 44.22, -66.36) |
| CIE-LCH | lch(23.56, 79.75, 303.68°) |
| OKLab | oklab(36.01% 0.0074 -0.1921) |
| OKLCH | oklch(36.01% 0.192 272.2) |
| XYZ | xyz(7.5273, 3.9652, 33.1628) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.05
Indigo Blue
#3A18B1
ΔE00 3.77
Cobalt Blue
#030AA7
ΔE00 3.88
Royal Blue (survey)
#0504AA
ΔE00 4.39
Ultramarine
#2000B1
ΔE00 4.64
True Blue
#010FCC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24219F #9C9F21
analogous
#215D9F #24219F #63219F
triadic
#24219F #9F2421 #219F24
tetradic
#24219F #9F215D #9C9F21 #219F63
square
#24219F #9F215D #9C9F21 #219F63
split-complementary
#24219F #9F6321 #5D9F21
monochromatic
#0D0C3A #19166C #24219F #2F2CD2 #605DDD
Accessibility & contrast
On white
11.71
#24219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#24219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24219F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24219F | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #24219f; /* rgb */ color: rgb(36, 33, 159); /* oklch */ color: oklch(36.0% 0.192 272.2);
Tailwind
colors: {
custom: {
50: '#755fbd',
500: '#24219f',
950: '#000000',
},
}SCSS
$custom: #24219f; $custom-light: #755fbd; $custom-dark: #000000;
JSON
{
"hex": "#24219f",
"rgb": {
"r": 36,
"g": 33,
"b": 159
},
"hsl": {
"h": 241.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.36014,
"c": 0.19222,
"h": 272.2
},
"luminance": 0.03966
}Semantic roles & 50–950 ramp
primary
#24219F
secondary
#BFC25A
accent
#E93FE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981