#2F302A#2F302A
#2F302A is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.011 H 114.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F302A |
|---|---|
| RGB | rgb(47, 48, 42) |
| HSL | hsl(70, 7%, 18%) |
| HSV | hsv(70, 13%, 19%) |
| CMYK | cmyk(2.1%, 0%, 12.5%, 81.2%) |
| CIE-LAB | lab(19.58, -1.80, 3.69) |
| CIE-LCH | lch(19.58, 4.11, 115.96°) |
| OKLab | oklab(30.61% -0.0044 0.0096) |
| OKLCH | oklch(30.61% 0.011 114.7) |
| XYZ | xyz(2.6471, 2.8854, 2.6075) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 4.17
Dark Grey
#363737
ΔE00 4.61
Onyx
#353839
ΔE00 5.23
Charcoal Grey
#3C4142
ΔE00 7.14
Gunmetal
#2A3439
ΔE00 7.78
Almost Black
#070D0D
ΔE00 11.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F302A #2B2A30
analogous
#302E2A #2F302A #2C302A
triadic
#2F302A #2A2F30 #302A2F
tetradic
#2F302A #2A302E #2B2A30 #302A2C
square
#2F302A #2A302E #2B2A30 #302A2C
split-complementary
#2F302A #2A2C30 #2E2A30
monochromatic
#10100E #10100E #2F302A #4F5147 #6F7163
Accessibility & contrast
On white
13.32
#2F302A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2F302A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F302A
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F302A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F302A | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312F2A
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#302F2E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f302a; /* rgb */ color: rgb(47, 48, 42); /* oklch */ color: oklch(30.6% 0.011 114.7);
Tailwind
colors: {
custom: {
50: '#676863',
500: '#2f302a',
950: '#000000',
},
}SCSS
$custom: #2f302a; $custom-light: #676863; $custom-dark: #000000;
JSON
{
"hex": "#2f302a",
"rgb": {
"r": 47,
"g": 48,
"b": 42
},
"hsl": {
"h": 70,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.30606,
"c": 0.01059,
"h": 114.7
},
"luminance": 0.02885
}Semantic roles & 50–950 ramp
primary
#2F302A
secondary
#58575F
accent
#78B081
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79