#24168C#24168C
#24168C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.179 H 275.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #24168C |
|---|---|
| RGB | rgb(36, 22, 140) |
| HSL | hsl(247, 73%, 32%) |
| HSV | hsv(247, 84%, 55%) |
| CMYK | cmyk(74.3%, 84.3%, 0%, 45.1%) |
| CIE-LAB | lab(19.40, 43.66, -61.52) |
| CIE-LCH | lch(19.40, 75.44, 305.36°) |
| OKLab | oklab(32.47% 0.0161 -0.1778) |
| OKLCH | oklch(32.47% 0.179 275.2) |
| XYZ | xyz(5.7465, 2.8418, 25.0515) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.84
Darkblue
#00008B
ΔE00 3.75
Cobalt Blue
#030AA7
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.11
Navy
#000080
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24168C #7E8C16
analogous
#16438C #24168C #5F168C
triadic
#24168C #8C2416 #168C24
tetradic
#24168C #8C1643 #7E8C16 #168C5F
square
#24168C #8C1643 #7E8C16 #168C5F
split-complementary
#24168C #8C5F16 #438C16
monochromatic
#090522 #160E57 #24168C #321EC1 #503CE0
Accessibility & contrast
On white
13.39
#24168C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#24168C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24168C
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24168C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24168C | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #24168c; /* rgb */ color: rgb(36, 22, 140); /* oklch */ color: oklch(32.5% 0.179 275.2);
Tailwind
colors: {
custom: {
50: '#7158af',
500: '#24168c',
950: '#000000',
},
}SCSS
$custom: #24168c; $custom-light: #7158af; $custom-dark: #000000;
JSON
{
"hex": "#24168c",
"rgb": {
"r": 36,
"g": 22,
"b": 140
},
"hsl": {
"h": 247.119,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.32466,
"c": 0.17858,
"h": 275.2
},
"luminance": 0.02842
}Semantic roles & 50–950 ramp
primary
#24168C
secondary
#B0C03E
accent
#F038DA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880