#24169E#24169E
#24169E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.7% C 0.200 H 273.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #24169E |
|---|---|
| RGB | rgb(36, 22, 158) |
| HSL | hsl(246, 76%, 35%) |
| HSV | hsv(246, 86%, 62%) |
| CMYK | cmyk(77.2%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(21.64, 49.16, -68.93) |
| CIE-LCH | lch(21.64, 84.66, 305.50°) |
| OKLab | oklab(34.65% 0.0109 -0.1993) |
| OKLCH | oklch(34.65% 0.2 273.1) |
| XYZ | xyz(7.1840, 3.4167, 32.6220) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.22
Royal
#0C1793
ΔE00 2.34
Royal Blue (survey)
#0504AA
ΔE00 2.67
Ultramarine
#2000B1
ΔE00 3.08
Indigo Blue
#3A18B1
ΔE00 3.55
Darkblue
#00008B
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24169E #909E16
analogous
#164C9E #24169E #68169E
triadic
#24169E #9E2416 #169E24
tetradic
#24169E #9E164C #909E16 #169E68
square
#24169E #9E164C #909E16 #169E68
split-complementary
#24169E #9E6816 #4C9E16
monochromatic
#0C0733 #180F68 #24169E #301DD4 #5949E6
Accessibility & contrast
On white
12.47
#24169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#24169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24169E
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24169E | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #24169e; /* rgb */ color: rgb(36, 22, 158); /* oklch */ color: oklch(34.7% 0.200 273.1);
Tailwind
colors: {
custom: {
50: '#7659bc',
500: '#24169e',
950: '#000000',
},
}SCSS
$custom: #24169e; $custom-light: #7659bc; $custom-dark: #000000;
JSON
{
"hex": "#24169e",
"rgb": {
"r": 36,
"g": 22,
"b": 158
},
"hsl": {
"h": 246.176,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.34652,
"c": 0.19962,
"h": 273.1
},
"luminance": 0.03418
}Semantic roles & 50–950 ramp
primary
#24169E
secondary
#BAC749
accent
#F236DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981