#24276E#24276E
#24276E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.121 H 275.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #24276E |
|---|---|
| RGB | rgb(36, 39, 110) |
| HSL | hsl(238, 51%, 29%) |
| HSV | hsv(238, 67%, 43%) |
| CMYK | cmyk(67.3%, 64.5%, 0%, 56.9%) |
| CIE-LAB | lab(19.85, 23.18, -41.70) |
| CIE-LCH | lch(19.85, 47.71, 299.07°) |
| OKLab | oklab(31.84% 0.0112 -0.1201) |
| OKLCH | oklch(31.84% 0.121 275.3) |
| XYZ | xyz(4.2666, 2.9515, 15.0937) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.27
Marine
#042E60
ΔE00 7.09
Royal
#0C1793
ΔE00 7.82
Darkslateblue
#483D8B
ΔE00 8.21
Darkblue (survey)
#030764
ΔE00 8.24
Navy Blue
#1B2A4A
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24276E #6E6B24
analogous
#244C6E #24276E #46246E
triadic
#24276E #6E2427 #276E24
tetradic
#24276E #6E244C #6E6B24 #246E46
square
#24276E #6E244C #6E6B24 #246E46
split-complementary
#24276E #6E4624 #4C6E24
monochromatic
#080817 #151740 #24276E #33379C #494EC3
Accessibility & contrast
On white
13.20
#24276E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#24276E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24276E
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24276E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24276E | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #24276e; /* rgb */ color: rgb(36, 39, 110); /* oklch */ color: oklch(31.8% 0.121 275.3);
Tailwind
colors: {
custom: {
50: '#686198',
500: '#24276e',
950: '#000000',
},
}SCSS
$custom: #24276e; $custom-light: #686198; $custom-dark: #000000;
JSON
{
"hex": "#24276e",
"rgb": {
"r": 36,
"g": 39,
"b": 110
},
"hsl": {
"h": 237.568,
"s": 50.685,
"l": 28.627
},
"oklch": {
"l": 0.31841,
"c": 0.12063,
"h": 275.3
},
"luminance": 0.02952
}Semantic roles & 50–950 ramp
primary
#24276E
secondary
#A19E4D
accent
#D44EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E