#24308E#24308E
#24308E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.154 H 270.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #24308E |
|---|---|
| RGB | rgb(36, 48, 142) |
| HSL | hsl(233, 60%, 35%) |
| HSV | hsv(233, 75%, 56%) |
| CMYK | cmyk(74.6%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(25.08, 29.12, -53.40) |
| CIE-LCH | lch(25.08, 60.82, 298.61°) |
| OKLab | oklab(36.58% 0.0022 -0.1543) |
| OKLCH | oklch(36.58% 0.154 270.8) |
| XYZ | xyz(6.6653, 4.4413, 26.0919) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Blueberry
#464196
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.29
Royal
#0C1793
ΔE00 6.48
Midnight Blue
#191970
ΔE00 7.16
Indigo Blue
#3A18B1
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24308E #8E8224
analogous
#24658E #24308E #4D248E
triadic
#24308E #8E2430 #308E24
tetradic
#24308E #8E2465 #8E8224 #248E4D
square
#24308E #8E2465 #8E8224 #248E4D
split-complementary
#24308E #8E4D24 #658E24
monochromatic
#0B0F2C #181F5D #24308E #3041BF #5866D5
Accessibility & contrast
On white
11.12
#24308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#24308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24308E
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24308E | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #24308e; /* rgb */ color: rgb(36, 48, 142); /* oklch */ color: oklch(36.6% 0.154 270.8);
Tailwind
colors: {
custom: {
50: '#6f68b0',
500: '#24308e',
950: '#000000',
},
}SCSS
$custom: #24308e; $custom-light: #6f68b0; $custom-dark: #000000;
JSON
{
"hex": "#24308e",
"rgb": {
"r": 36,
"g": 48,
"b": 142
},
"hsl": {
"h": 233.208,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.36579,
"c": 0.15437,
"h": 270.8
},
"luminance": 0.04442
}Semantic roles & 50–950 ramp
primary
#24308E
secondary
#B9AE55
accent
#D145E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80