#2A302D#2A302D
#2A302D is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.010 H 164.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A302D |
|---|---|
| RGB | rgb(42, 48, 45) |
| HSL | hsl(150, 7%, 18%) |
| HSV | hsv(150, 13%, 19%) |
| CMYK | cmyk(12.5%, 0%, 6.2%, 81.2%) |
| CIE-LAB | lab(19.21, -3.34, 1.04) |
| CIE-LCH | lch(19.21, 3.50, 162.80°) |
| OKLab | oklab(30.23% -0.0095 0.0027) |
| OKLCH | oklch(30.23% 0.01 164.3) |
| XYZ | xyz(2.4853, 2.7956, 2.8908) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.39
Onyx
#353839
ΔE00 4.61
Dark Grey
#363737
ΔE00 4.81
Gunmetal
#2A3439
ΔE00 5.31
Charcoal Grey
#3C4142
ΔE00 6.39
Charcoal
#36454F
ΔE00 10.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A302D #302A2D
analogous
#2A302A #2A302D #2A3030
triadic
#2A302D #2D2A30 #302D2A
tetradic
#2A302D #2A2A30 #302A2D #30302A
square
#2A302D #2A2A30 #302A2D #30302A
split-complementary
#2A302D #302A30 #302A2A
monochromatic
#0E100F #0E100F #2A302D #47514C #63716A
Accessibility & contrast
On white
13.47
#2A302D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2A302D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A302D
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A302D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A302D | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#2F2E2D
Tritanopia (blue-blind)
#29302F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a302d; /* rgb */ color: rgb(42, 48, 45); /* oklch */ color: oklch(30.2% 0.010 164.3);
Tailwind
colors: {
custom: {
50: '#636865',
500: '#2a302d',
950: '#000000',
},
}SCSS
$custom: #2a302d; $custom-light: #636865; $custom-dark: #000000;
JSON
{
"hex": "#2a302d",
"rgb": {
"r": 42,
"g": 48,
"b": 45
},
"hsl": {
"h": 150,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.30226,
"c": 0.00991,
"h": 164.3
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#2A302D
secondary
#5F575B
accent
#7894B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A