#2E2F2F#2E2F2F
#2E2F2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.001 H 197.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F2F |
|---|---|
| RGB | rgb(46, 47, 47) |
| HSL | hsl(180, 1%, 18%) |
| HSV | hsv(180, 2%, 18%) |
| CMYK | cmyk(2.1%, 0%, 0%, 81.6%) |
| CIE-LAB | lab(19.30, -0.44, -0.15) |
| CIE-LCH | lch(19.30, 0.47, 199.31°) |
| OKLab | oklab(30.42% -0.0014 -0.0004) |
| OKLCH | oklch(30.42% 0.001 197.2) |
| XYZ | xyz(2.6562, 2.8191, 3.0930) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 2.57
Onyx
#353839
ΔE00 3.04
Charcoal (survey)
#343837
ΔE00 3.39
Gunmetal
#2A3439
ΔE00 5.07
Charcoal Grey
#3C4142
ΔE00 6.02
Dark
#1B2431
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F2F #2F2E2E
analogous
#2E2F2E #2E2F2F #2E2E2F
triadic
#2E2F2F #2F2E2F #2F2F2E
tetradic
#2E2F2F #2E2E2F #2F2E2E #2E2F2E
square
#2E2F2F #2E2E2F #2F2E2E #2E2F2E
split-complementary
#2E2F2F #2F2E2E #2F2E2E
monochromatic
#0F0F0F #101010 #2E2F2F #4C4E4E #6B6D6D
Accessibility & contrast
On white
13.43
#2E2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2E2F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F2F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F2F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2F2F
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#2E2F2F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2e2f2f; /* rgb */ color: rgb(46, 47, 47); /* oklch */ color: oklch(30.4% 0.001 197.2);
Tailwind
colors: {
custom: {
50: '#666767',
500: '#2e2f2f',
950: '#000000',
},
}SCSS
$custom: #2e2f2f; $custom-light: #666767; $custom-dark: #000000;
JSON
{
"hex": "#2e2f2f",
"rgb": {
"r": 46,
"g": 47,
"b": 47
},
"hsl": {
"h": 180,
"s": 1.075,
"l": 18.235
},
"oklch": {
"l": 0.30418,
"c": 0.00142,
"h": 197.2
},
"luminance": 0.02819
}Semantic roles & 50–950 ramp
primary
#2E2F2F
secondary
#5D5C5C
accent
#7D7DAA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A