#24148F#24148F
#24148F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.184 H 275.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #24148F |
|---|---|
| RGB | rgb(36, 20, 143) |
| HSL | hsl(248, 75%, 32%) |
| HSV | hsv(248, 86%, 56%) |
| CMYK | cmyk(74.8%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(19.47, 45.48, -63.28) |
| CIE-LCH | lch(19.47, 77.93, 305.71°) |
| OKLab | oklab(32.62% 0.0159 -0.1829) |
| OKLCH | oklch(32.62% 0.184 275) |
| XYZ | xyz(5.9340, 2.8580, 26.2202) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.79
Cobalt Blue
#030AA7
ΔE00 3.47
Darkblue
#00008B
ΔE00 3.51
Royal Blue (survey)
#0504AA
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.01
Navy
#000080
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24148F #7F8F14
analogous
#14428F #24148F #62148F
triadic
#24148F #8F2414 #148F24
tetradic
#24148F #8F1442 #7F8F14 #148F62
square
#24148F #8F1442 #7F8F14 #148F62
split-complementary
#24148F #8F6214 #428F14
monochromatic
#090524 #160C59 #24148F #321CC5 #503AE3
Accessibility & contrast
On white
13.36
#24148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#24148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24148F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24148F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #24148f; /* rgb */ color: rgb(36, 20, 143); /* oklch */ color: oklch(32.6% 0.184 275.0);
Tailwind
colors: {
custom: {
50: '#7257b1',
500: '#24148f',
950: '#000000',
},
}SCSS
$custom: #24148f; $custom-light: #7257b1; $custom-dark: #000000;
JSON
{
"hex": "#24148f",
"rgb": {
"r": 36,
"g": 20,
"b": 143
},
"hsl": {
"h": 247.805,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.32619,
"c": 0.18361,
"h": 275
},
"luminance": 0.02859
}Semantic roles & 50–950 ramp
primary
#24148F
secondary
#B1C33C
accent
#F236DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880