#24188B#24188B
#24188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.176 H 275.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #24188B |
|---|---|
| RGB | rgb(36, 24, 139) |
| HSL | hsl(246, 71%, 32%) |
| HSV | hsv(246, 83%, 55%) |
| CMYK | cmyk(74.1%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.61, 42.39, -60.55) |
| CIE-LCH | lch(19.61, 73.91, 304.99°) |
| OKLab | oklab(32.57% 0.0157 -0.1751) |
| OKLCH | oklch(32.57% 0.176 275.1) |
| XYZ | xyz(5.7129, 2.8919, 24.6782) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.87
Darkblue
#00008B
ΔE00 4.08
Cobalt Blue
#030AA7
ΔE00 4.24
Indigo (survey)
#380282
ΔE00 4.37
Midnight Blue
#191970
ΔE00 4.49
Navy
#000080
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24188B #7F8B18
analogous
#18468B #24188B #5E188B
triadic
#24188B #8B2418 #188B24
tetradic
#24188B #8B1846 #7F8B18 #188B5E
square
#24188B #8B1846 #7F8B18 #188B5E
split-complementary
#24188B #8B5E18 #468B18
monochromatic
#090623 #160F57 #24188B #3221BF #503FDE
Accessibility & contrast
On white
13.30
#24188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#24188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24188B
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24188B | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #24188b; /* rgb */ color: rgb(36, 24, 139); /* oklch */ color: oklch(32.6% 0.176 275.1);
Tailwind
colors: {
custom: {
50: '#7159ae',
500: '#24188b',
950: '#000000',
},
}SCSS
$custom: #24188b; $custom-light: #7159ae; $custom-dark: #000000;
JSON
{
"hex": "#24188b",
"rgb": {
"r": 36,
"g": 24,
"b": 139
},
"hsl": {
"h": 246.261,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32574,
"c": 0.17578,
"h": 275.1
},
"luminance": 0.02892
}Semantic roles & 50–950 ramp
primary
#24188B
secondary
#B1BE40
accent
#ED3ADB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F