#24309C#24309C
#24309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 270.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #24309C |
|---|---|
| RGB | rgb(36, 48, 156) |
| HSL | hsl(234, 63%, 38%) |
| HSV | hsv(234, 77%, 61%) |
| CMYK | cmyk(76.9%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.41, 34.30, -59.82) |
| CIE-LCH | lch(26.41, 68.95, 299.83°) |
| OKLab | oklab(37.96% 0.001 -0.1731) |
| OKLCH | oklch(37.96% 0.173 270.3) |
| XYZ | xyz(7.7832, 4.8884, 31.9794) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Royal
#0C1793
ΔE00 6.15
Blueberry
#464196
ΔE00 6.25
Indigo Blue
#3A18B1
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 6.83
Blue Blue
#2242C7
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24309C #9C9024
analogous
#246C9C #24309C #54249C
triadic
#24309C #9C2430 #309C24
tetradic
#24309C #9C246C #9C9024 #249C54
square
#24309C #9C246C #9C9024 #249C54
split-complementary
#24309C #9C5424 #6C9C24
monochromatic
#0D1139 #19216A #24309C #2F3FCE #606CDA
Accessibility & contrast
On white
10.62
#24309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#24309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24309C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24309C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #24309c; /* rgb */ color: rgb(36, 48, 156); /* oklch */ color: oklch(38.0% 0.173 270.3);
Tailwind
colors: {
custom: {
50: '#7368ba',
500: '#24309c',
950: '#000000',
},
}SCSS
$custom: #24309c; $custom-light: #7368ba; $custom-dark: #000000;
JSON
{
"hex": "#24309c",
"rgb": {
"r": 36,
"g": 48,
"b": 156
},
"hsl": {
"h": 234,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.37959,
"c": 0.17311,
"h": 270.3
},
"luminance": 0.04889
}Semantic roles & 50–950 ramp
primary
#24309C
secondary
#BFB55C
accent
#D542E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81