#24318A#24318A
#24318A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.148 H 270.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #24318A |
|---|---|
| RGB | rgb(36, 49, 138) |
| HSL | hsl(232, 59%, 34%) |
| HSV | hsv(232, 74%, 54%) |
| CMYK | cmyk(73.9%, 64.5%, 0%, 45.9%) |
| CIE-LAB | lab(24.97, 26.94, -51.09) |
| CIE-LCH | lch(24.97, 57.76, 297.80°) |
| OKLab | oklab(36.39% 0.0017 -0.1476) |
| OKLCH | oklch(36.39% 0.148 270.7) |
| XYZ | xyz(6.4117, 4.4060, 24.5524) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 6.15
Royal
#0C1793
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.19
Marine
#042E60
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24318A #8A7D24
analogous
#24648A #24318A #4A248A
triadic
#24318A #8A2431 #318A24
tetradic
#24318A #8A2464 #8A7D24 #248A4A
square
#24318A #8A2464 #8A7D24 #248A4A
split-complementary
#24318A #8A4A24 #648A24
monochromatic
#0B0F29 #172059 #24318A #3142BB #5666D3
Accessibility & contrast
On white
11.16
#24318A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#24318A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24318A
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24318A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24318A | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #24318a; /* rgb */ color: rgb(36, 49, 138); /* oklch */ color: oklch(36.4% 0.148 270.7);
Tailwind
colors: {
custom: {
50: '#6e69ad',
500: '#24318a',
950: '#000000',
},
}SCSS
$custom: #24318a; $custom-light: #6e69ad; $custom-dark: #000000;
JSON
{
"hex": "#24318a",
"rgb": {
"r": 36,
"g": 49,
"b": 138
},
"hsl": {
"h": 232.353,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.36386,
"c": 0.14759,
"h": 270.7
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#24318A
secondary
#B7AA53
accent
#CE46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F