#24137E#24137E
#24137E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.5% C 0.164 H 277.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #24137E |
|---|---|
| RGB | rgb(36, 19, 126) |
| HSL | hsl(250, 74%, 28%) |
| HSV | hsv(250, 85%, 49%) |
| CMYK | cmyk(71.4%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(17.21, 40.70, -56.31) |
| CIE-LCH | lch(17.21, 69.48, 305.86°) |
| OKLab | oklab(30.46% 0.0216 -0.1627) |
| OKLCH | oklch(30.46% 0.164 277.6) |
| XYZ | xyz(4.7251, 2.3467, 19.9386) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.25
Royal
#0C1793
ΔE00 3.49
Indigo (survey)
#380282
ΔE00 3.60
Navy
#000080
ΔE00 3.69
Darkblue
#00008B
ΔE00 3.82
Deep Blue
#040273
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24137E #6D7E13
analogous
#13377E #24137E #59137E
triadic
#24137E #7E2413 #137E24
tetradic
#24137E #7E1337 #6D7E13 #137E59
square
#24137E #7E1337 #6D7E13 #137E59
split-complementary
#24137E #7E5913 #377E13
monochromatic
#08041B #150B49 #24137E #331BB3 #492CDF
Accessibility & contrast
On white
14.29
#24137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#24137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24137E
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24137E | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #24137e; /* rgb */ color: rgb(36, 19, 126); /* oklch */ color: oklch(30.5% 0.164 277.6);
Tailwind
colors: {
custom: {
50: '#6e55a5',
500: '#24137e',
950: '#000000',
},
}SCSS
$custom: #24137e; $custom-light: #6e55a5; $custom-dark: #000000;
JSON
{
"hex": "#24137e",
"rgb": {
"r": 36,
"g": 19,
"b": 126
},
"hsl": {
"h": 249.533,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.3046,
"c": 0.16412,
"h": 277.6
},
"luminance": 0.02347
}Semantic roles & 50–950 ramp
primary
#24137E
secondary
#A0B439
accent
#F037D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F