#24197E#24197E
#24197E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 276.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #24197E |
|---|---|
| RGB | rgb(36, 25, 126) |
| HSL | hsl(247, 67%, 30%) |
| HSV | hsv(247, 80%, 49%) |
| CMYK | cmyk(71.4%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.26, 37.65, -54.58) |
| CIE-LCH | lch(18.26, 66.31, 304.60°) |
| OKLab | oklab(31.19% 0.0188 -0.1577) |
| OKLCH | oklch(31.19% 0.159 276.8) |
| XYZ | xyz(4.8399, 2.5762, 19.9768) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.64
Royal
#0C1793
ΔE00 3.43
Indigo (survey)
#380282
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 4.69
Navy
#000080
ΔE00 4.74
Darkblue
#00008B
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24197E #737E19
analogous
#19407E #24197E #57197E
triadic
#24197E #7E2419 #197E24
tetradic
#24197E #7E1940 #737E19 #197E57
square
#24197E #7E1940 #737E19 #197E57
split-complementary
#24197E #7E5719 #407E19
monochromatic
#07051A #150F4B #24197E #3323B1 #4B3AD8
Accessibility & contrast
On white
13.86
#24197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#24197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24197E
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24197E | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #24197e; /* rgb */ color: rgb(36, 25, 126); /* oklch */ color: oklch(31.2% 0.159 276.8);
Tailwind
colors: {
custom: {
50: '#6e58a5',
500: '#24197e',
950: '#000000',
},
}SCSS
$custom: #24197e; $custom-light: #6e58a5; $custom-dark: #000000;
JSON
{
"hex": "#24197e",
"rgb": {
"r": 36,
"g": 25,
"b": 126
},
"hsl": {
"h": 246.535,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.31189,
"c": 0.15884,
"h": 276.8
},
"luminance": 0.02577
}Semantic roles & 50–950 ramp
primary
#24197E
secondary
#A6B241
accent
#EA3ED7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F