#2E312F#2E312F
#2E312F is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 30.9% C 0.005 H 156.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2E312F |
|---|---|
| RGB | rgb(46, 49, 47) |
| HSL | hsl(140, 3%, 19%) |
| HSV | hsv(140, 6%, 19%) |
| CMYK | cmyk(6.1%, 0%, 4.1%, 80.8%) |
| CIE-LAB | lab(19.97, -1.79, 0.82) |
| CIE-LCH | lch(19.97, 1.97, 155.31°) |
| OKLab | oklab(30.95% -0.005 0.0022) |
| OKLCH | oklch(30.95% 0.005 156.9) |
| XYZ | xyz(2.7380, 2.9827, 3.1202) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 2.34
Dark Grey
#363737
ΔE00 2.98
Onyx
#353839
ΔE00 3.13
Gunmetal
#2A3439
ΔE00 5.08
Charcoal Grey
#3C4142
ΔE00 5.53
Charcoal
#36454F
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E312F #312E30
analogous
#2E312E #2E312F #2E3130
triadic
#2E312F #2F2E31 #312F2E
tetradic
#2E312F #2E2E31 #312E30 #31302E
square
#2E312F #2E2E31 #312E30 #31302E
split-complementary
#2E312F #302E31 #312E2E
monochromatic
#0F100F #101111 #2E312F #4C514D #69706C
Accessibility & contrast
On white
13.15
#2E312F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2E312F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E312F
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E312F | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31302F
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#2E3130
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2e312f; /* rgb */ color: rgb(46, 49, 47); /* oklch */ color: oklch(30.9% 0.005 156.9);
Tailwind
colors: {
custom: {
50: '#666967',
500: '#2e312f',
950: '#000000',
},
}SCSS
$custom: #2e312f; $custom-light: #666967; $custom-dark: #000000;
JSON
{
"hex": "#2e312f",
"rgb": {
"r": 46,
"g": 49,
"b": 47
},
"hsl": {
"h": 140,
"s": 3.158,
"l": 18.627
},
"oklch": {
"l": 0.30946,
"c": 0.00548,
"h": 156.9
},
"luminance": 0.02983
}Semantic roles & 50–950 ramp
primary
#2E312F
secondary
#5F5B5E
accent
#7B9CAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A