#24197F#24197F
#24197F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.160 H 276.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #24197F |
|---|---|
| RGB | rgb(36, 25, 127) |
| HSL | hsl(246, 67%, 30%) |
| HSV | hsv(246, 80%, 50%) |
| CMYK | cmyk(71.7%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.37, 37.98, -55.02) |
| CIE-LCH | lch(18.37, 66.86, 304.62°) |
| OKLab | oklab(31.3% 0.0185 -0.159) |
| OKLCH | oklch(31.3% 0.16 276.6) |
| XYZ | xyz(4.9047, 2.6022, 20.3184) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.77
Royal
#0C1793
ΔE00 3.29
Indigo (survey)
#380282
ΔE00 4.56
Darkblue
#00008B
ΔE00 4.72
Navy
#000080
ΔE00 4.72
Dark Royal Blue
#02066F
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24197F #747F19
analogous
#19417F #24197F #57197F
triadic
#24197F #7F2419 #197F24
tetradic
#24197F #7F1941 #747F19 #197F57
square
#24197F #7F1941 #747F19 #197F57
split-complementary
#24197F #7F5719 #417F19
monochromatic
#07051A #160F4C #24197F #3223B2 #4B3AD8
Accessibility & contrast
On white
13.81
#24197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#24197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24197F
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24197F | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #24197f; /* rgb */ color: rgb(36, 25, 127); /* oklch */ color: oklch(31.3% 0.160 276.6);
Tailwind
colors: {
custom: {
50: '#6e58a5',
500: '#24197f',
950: '#000000',
},
}SCSS
$custom: #24197f; $custom-light: #6e58a5; $custom-dark: #000000;
JSON
{
"hex": "#24197f",
"rgb": {
"r": 36,
"g": 25,
"b": 127
},
"hsl": {
"h": 246.471,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31303,
"c": 0.1601,
"h": 276.6
},
"luminance": 0.02603
}Semantic roles & 50–950 ramp
primary
#24197F
secondary
#A7B341
accent
#EA3ED7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F