#24197B#24197B
#24197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 277.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #24197B |
|---|---|
| RGB | rgb(36, 25, 123) |
| HSL | hsl(247, 66%, 29%) |
| HSV | hsv(247, 80%, 48%) |
| CMYK | cmyk(70.7%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.92, 36.66, -53.23) |
| CIE-LCH | lch(17.92, 64.63, 304.56°) |
| OKLab | oklab(30.85% 0.0196 -0.1538) |
| OKLCH | oklch(30.85% 0.155 277.2) |
| XYZ | xyz(4.6492, 2.5000, 18.9726) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.86
Dark Royal Blue
#02066F
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 4.74
Deep Blue
#040273
ΔE00 4.82
Navy
#000080
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24197B #707B19
analogous
#193F7B #24197B #55197B
triadic
#24197B #7B2419 #197B24
tetradic
#24197B #7B193F #707B19 #197B55
square
#24197B #7B193F #707B19 #197B55
split-complementary
#24197B #7B5519 #3F7B19
monochromatic
#070519 #150F48 #24197B #3323AE #4A38D7
Accessibility & contrast
On white
14.00
#24197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#24197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24197B
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24197B | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #24197b; /* rgb */ color: rgb(36, 25, 123); /* oklch */ color: oklch(30.8% 0.155 277.2);
Tailwind
colors: {
custom: {
50: '#6d58a2',
500: '#24197b',
950: '#000000',
},
}SCSS
$custom: #24197b; $custom-light: #6d58a2; $custom-dark: #000000;
JSON
{
"hex": "#24197b",
"rgb": {
"r": 36,
"g": 25,
"b": 123
},
"hsl": {
"h": 246.735,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30849,
"c": 0.15505,
"h": 277.2
},
"luminance": 0.025
}Semantic roles & 50–950 ramp
primary
#24197B
secondary
#A3AF40
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F