#2F2F2B#2F2F2B
#2F2F2B is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.007 H 106.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F2B |
|---|---|
| RGB | rgb(47, 47, 43) |
| HSL | hsl(60, 4%, 18%) |
| HSV | hsv(60, 9%, 18%) |
| CMYK | cmyk(0%, 0%, 8.5%, 81.6%) |
| CIE-LAB | lab(19.27, -0.91, 2.57) |
| CIE-LCH | lch(19.27, 2.73, 109.50°) |
| OKLab | oklab(30.38% -0.002 0.0067) |
| OKLCH | oklch(30.38% 0.007 106.8) |
| XYZ | xyz(2.6248, 2.8118, 2.6895) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 3.70
Charcoal (survey)
#343837
ΔE00 3.89
Onyx
#353839
ΔE00 4.47
Charcoal Grey
#3C4142
ΔE00 6.85
Gunmetal
#2A3439
ΔE00 7.12
Almost Black
#070D0D
ΔE00 10.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F2B #2B2B2F
analogous
#2F2D2B #2F2F2B #2D2F2B
triadic
#2F2F2B #2B2F2F #2F2B2F
tetradic
#2F2F2B #2B2F2D #2B2B2F #2F2B2D
square
#2F2F2B #2B2F2D #2B2B2F #2F2B2D
split-complementary
#2F2F2B #2B2D2F #2D2B2F
monochromatic
#10100F #10100F #2F2F2B #4F4F48 #6F6F65
Accessibility & contrast
On white
13.44
#2F2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2F2F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F2B
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F2B | 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)
#302F2B
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#302E2E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f2f2b; /* rgb */ color: rgb(47, 47, 43); /* oklch */ color: oklch(30.4% 0.007 106.8);
Tailwind
colors: {
custom: {
50: '#676764',
500: '#2f2f2b',
950: '#000000',
},
}SCSS
$custom: #2f2f2b; $custom-light: #676764; $custom-dark: #000000;
JSON
{
"hex": "#2f2f2b",
"rgb": {
"r": 47,
"g": 47,
"b": 43
},
"hsl": {
"h": 60,
"s": 4.444,
"l": 17.647
},
"oklch": {
"l": 0.30376,
"c": 0.00703,
"h": 106.8
},
"luminance": 0.02812
}Semantic roles & 50–950 ramp
primary
#2F2F2B
secondary
#58585E
accent
#7AAE7A
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79