#24242E#24242E
#24242E is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.5% C 0.019 H 285.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).
Color values
| HEX | #24242E |
|---|---|
| RGB | rgb(36, 36, 46) |
| HSL | hsl(240, 12%, 16%) |
| HSV | hsv(240, 22%, 18%) |
| CMYK | cmyk(21.7%, 21.7%, 0%, 82%) |
| CIE-LAB | lab(14.59, 2.67, -6.57) |
| CIE-LCH | lch(14.59, 7.10, 292.14°) |
| OKLab | oklab(26.47% 0.0048 -0.0179) |
| OKLCH | oklch(26.47% 0.019 285.1) |
| XYZ | xyz(1.8515, 1.8341, 2.8407) |
| Luminance | 0.0183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 4.58
Gunmetal
#2A3439
ΔE00 8.84
Dark Grey
#363737
ΔE00 8.90
Onyx
#353839
ΔE00 9.04
Navy Blue
#1B2A4A
ΔE00 9.85
Charcoal (survey)
#343837
ΔE00 10.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24242E #2E2E24
analogous
#24292E #24242E #29242E
triadic
#24242E #2E2424 #242E24
tetradic
#24242E #2E2429 #2E2E24 #242E29
square
#24242E #2E2429 #2E2E24 #242E29
split-complementary
#24242E #2E2924 #292E24
monochromatic
#0D0D11 #0D0D11 #24242E #3F3F50 #5A5A73
Accessibility & contrast
On white
15.36
#24242E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#24242E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24242E
15.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24242E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24242E | 1.00 | 15.36 | 1.37 | 15.36 |
| #FFFFFF | 15.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#222627
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #24242e; /* rgb */ color: rgb(36, 36, 46); /* oklch */ color: oklch(26.5% 0.019 285.1);
Tailwind
colors: {
custom: {
50: '#5e5e66',
500: '#24242e',
950: '#000000',
},
}SCSS
$custom: #24242e; $custom-light: #5e5e66; $custom-dark: #000000;
JSON
{
"hex": "#24242e",
"rgb": {
"r": 36,
"g": 36,
"b": 46
},
"hsl": {
"h": 240,
"s": 12.195,
"l": 16.078
},
"oklch": {
"l": 0.26471,
"c": 0.01855,
"h": 285.1
},
"luminance": 0.01834
}Semantic roles & 50–950 ramp
primary
#24242E
secondary
#5E5E4F
accent
#B573B5
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A