#2A302F#2A302F
#2A302F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.009 H 184.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A302F |
|---|---|
| RGB | rgb(42, 48, 47) |
| HSL | hsl(170, 7%, 18%) |
| HSV | hsv(170, 13%, 19%) |
| CMYK | cmyk(12.5%, 0%, 2.1%, 81.2%) |
| CIE-LAB | lab(19.27, -2.85, -0.25) |
| CIE-LCH | lch(19.27, 2.86, 184.95°) |
| OKLab | oklab(30.3% -0.0085 -0.0007) |
| OKLCH | oklch(30.3% 0.009 184.7) |
| XYZ | xyz(2.5248, 2.8113, 3.0984) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 2.95
Onyx
#353839
ΔE00 3.79
Gunmetal
#2A3439
ΔE00 4.04
Dark Grey
#363737
ΔE00 4.17
Charcoal Grey
#3C4142
ΔE00 5.87
Charcoal
#36454F
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A302F #302A2B
analogous
#2A302C #2A302F #2A2E30
triadic
#2A302F #2F2A30 #302F2A
tetradic
#2A302F #2C2A30 #302A2B #2E302A
square
#2A302F #2C2A30 #302A2B #2E302A
split-complementary
#2A302F #302A2E #302C2A
monochromatic
#0E1010 #0E1010 #2A302F #47514F #63716F
Accessibility & contrast
On white
13.44
#2A302F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2A302F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A302F
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A302F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A302F | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2F2F
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#293030
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a302f; /* rgb */ color: rgb(42, 48, 47); /* oklch */ color: oklch(30.3% 0.009 184.7);
Tailwind
colors: {
custom: {
50: '#636867',
500: '#2a302f',
950: '#000000',
},
}SCSS
$custom: #2a302f; $custom-light: #636867; $custom-dark: #000000;
JSON
{
"hex": "#2a302f",
"rgb": {
"r": 42,
"g": 48,
"b": 47
},
"hsl": {
"h": 170,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.303,
"c": 0.00854,
"h": 184.7
},
"luminance": 0.02811
}Semantic roles & 50–950 ramp
primary
#2A302F
secondary
#5F5758
accent
#7881B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A