#24318D#24318D
#24318D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.152 H 270.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #24318D |
|---|---|
| RGB | rgb(36, 49, 141) |
| HSL | hsl(233, 59%, 35%) |
| HSV | hsv(233, 74%, 55%) |
| CMYK | cmyk(74.5%, 65.2%, 0%, 44.7%) |
| CIE-LAB | lab(25.24, 28.08, -52.51) |
| CIE-LCH | lch(25.24, 59.55, 298.13°) |
| OKLab | oklab(36.67% 0.0016 -0.1517) |
| OKLCH | oklch(36.67% 0.152 270.6) |
| XYZ | xyz(6.6319, 4.4941, 25.7121) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.17
Royal
#0C1793
ΔE00 6.85
Midnight Blue
#191970
ΔE00 7.34
Cobalt
#0047AB
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24318D #8D8024
analogous
#24668D #24318D #4B248D
triadic
#24318D #8D2431 #318D24
tetradic
#24318D #8D2466 #8D8024 #248D4B
square
#24318D #8D2466 #8D8024 #248D4B
split-complementary
#24318D #8D4B24 #668D24
monochromatic
#0B0F2B #18205C #24318D #3042BE #5767D4
Accessibility & contrast
On white
11.06
#24318D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#24318D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24318D
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24318D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24318D | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #24318d; /* rgb */ color: rgb(36, 49, 141); /* oklch */ color: oklch(36.7% 0.152 270.6);
Tailwind
colors: {
custom: {
50: '#6f69af',
500: '#24318d',
950: '#000000',
},
}SCSS
$custom: #24318d; $custom-light: #6f69af; $custom-dark: #000000;
JSON
{
"hex": "#24318d",
"rgb": {
"r": 36,
"g": 49,
"b": 141
},
"hsl": {
"h": 232.571,
"s": 59.322,
"l": 34.706
},
"oklch": {
"l": 0.36669,
"c": 0.15175,
"h": 270.6
},
"luminance": 0.04495
}Semantic roles & 50–950 ramp
primary
#24318D
secondary
#B8AC54
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F