#2F302B#2F302B
#2F302B is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.009 H 116.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F302B |
|---|---|
| RGB | rgb(47, 48, 43) |
| HSL | hsl(72, 5%, 18%) |
| HSV | hsv(72, 10%, 19%) |
| CMYK | cmyk(2.1%, 0%, 10.4%, 81.2%) |
| CIE-LAB | lab(19.61, -1.58, 3.05) |
| CIE-LCH | lch(19.61, 3.44, 117.43°) |
| OKLab | oklab(30.64% -0.0039 0.008) |
| OKLCH | oklch(30.64% 0.009 116.1) |
| XYZ | xyz(2.6652, 2.8927, 2.7030) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.76
Dark Grey
#363737
ΔE00 4.09
Onyx
#353839
ΔE00 4.71
Charcoal Grey
#3C4142
ΔE00 6.79
Gunmetal
#2A3439
ΔE00 7.26
Almost Black
#070D0D
ΔE00 10.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F302B #2C2B30
analogous
#302E2B #2F302B #2C302B
triadic
#2F302B #2B2F30 #302B2F
tetradic
#2F302B #2B302E #2C2B30 #302B2C
square
#2F302B #2B302E #2C2B30 #302B2C
split-complementary
#2F302B #2B2C30 #2E2B30
monochromatic
#10100E #10100E #2F302B #4F5048 #6E7165
Accessibility & contrast
On white
13.30
#2F302B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2F302B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F302B
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F302B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F302B | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312F2B
Deuteranopia (green-blind)
#312F2B
Tritanopia (blue-blind)
#302F2F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f302b; /* rgb */ color: rgb(47, 48, 43); /* oklch */ color: oklch(30.6% 0.009 116.1);
Tailwind
colors: {
custom: {
50: '#676864',
500: '#2f302b',
950: '#000000',
},
}SCSS
$custom: #2f302b; $custom-light: #676864; $custom-dark: #000000;
JSON
{
"hex": "#2f302b",
"rgb": {
"r": 47,
"g": 48,
"b": 43
},
"hsl": {
"h": 72,
"s": 5.495,
"l": 17.843
},
"oklch": {
"l": 0.3064,
"c": 0.00886,
"h": 116.1
},
"luminance": 0.02893
}Semantic roles & 50–950 ramp
primary
#2F302B
secondary
#59585F
accent
#79AF84
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79