#24318B#24318B
#24318B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.149 H 270.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #24318B |
|---|---|
| RGB | rgb(36, 49, 139) |
| HSL | hsl(232, 59%, 34%) |
| HSV | hsv(232, 74%, 55%) |
| CMYK | cmyk(74.1%, 64.7%, 0%, 45.5%) |
| CIE-LAB | lab(25.06, 27.32, -51.57) |
| CIE-LCH | lch(25.06, 58.36, 297.91°) |
| OKLab | oklab(36.48% 0.0016 -0.149) |
| OKLCH | oklch(36.48% 0.149 270.6) |
| XYZ | xyz(6.4845, 4.4351, 24.9354) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Blueberry
#464196
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.15
Royal
#0C1793
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.24
Marine
#042E60
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24318B #8B7E24
analogous
#24658B #24318B #4B248B
triadic
#24318B #8B2431 #318B24
tetradic
#24318B #8B2465 #8B7E24 #248B4B
square
#24318B #8B2465 #8B7E24 #248B4B
split-complementary
#24318B #8B4B24 #658B24
monochromatic
#0B0F2A #17205A #24318B #3142BC #5666D3
Accessibility & contrast
On white
11.13
#24318B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#24318B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24318B
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24318B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24318B | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #24318b; /* rgb */ color: rgb(36, 49, 139); /* oklch */ color: oklch(36.5% 0.149 270.6);
Tailwind
colors: {
custom: {
50: '#6f69ae',
500: '#24318b',
950: '#000000',
},
}SCSS
$custom: #24318b; $custom-light: #6f69ae; $custom-dark: #000000;
JSON
{
"hex": "#24318b",
"rgb": {
"r": 36,
"g": 49,
"b": 139
},
"hsl": {
"h": 232.427,
"s": 58.857,
"l": 34.314
},
"oklch": {
"l": 0.3648,
"c": 0.14899,
"h": 270.6
},
"luminance": 0.04436
}Semantic roles & 50–950 ramp
primary
#24318B
secondary
#B7AB53
accent
#CE46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F