#24318E#24318E
#24318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 270.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #24318E |
|---|---|
| RGB | rgb(36, 49, 142) |
| HSL | hsl(233, 60%, 35%) |
| HSV | hsv(233, 75%, 56%) |
| CMYK | cmyk(74.6%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.33, 28.45, -52.98) |
| CIE-LCH | lch(25.33, 60.14, 298.24°) |
| OKLab | oklab(36.77% 0.0015 -0.1531) |
| OKLCH | oklch(36.77% 0.153 270.6) |
| XYZ | xyz(6.7067, 4.5240, 26.1057) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Blueberry
#464196
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 6.19
Royal
#0C1793
ΔE00 6.79
Midnight Blue
#191970
ΔE00 7.40
Cobalt
#0047AB
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24318E #8E8124
analogous
#24668E #24318E #4C248E
triadic
#24318E #8E2431 #318E24
tetradic
#24318E #8E2466 #8E8124 #248E4C
square
#24318E #8E2466 #8E8124 #248E4C
split-complementary
#24318E #8E4C24 #668E24
monochromatic
#0B0F2C #18205D #24318E #3042BF #5867D5
Accessibility & contrast
On white
11.02
#24318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#24318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24318E
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24318E | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #24318e; /* rgb */ color: rgb(36, 49, 142); /* oklch */ color: oklch(36.8% 0.153 270.6);
Tailwind
colors: {
custom: {
50: '#6f69b0',
500: '#24318e',
950: '#000000',
},
}SCSS
$custom: #24318e; $custom-light: #6f69b0; $custom-dark: #000000;
JSON
{
"hex": "#24318e",
"rgb": {
"r": 36,
"g": 49,
"b": 142
},
"hsl": {
"h": 232.642,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.36765,
"c": 0.15313,
"h": 270.6
},
"luminance": 0.04525
}Semantic roles & 50–950 ramp
primary
#24318E
secondary
#B9AD55
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80