#2F3136#2F3136
#2F3136 is a dark, near-neutral grey. Relative luminance 0.031; OKLCH L 31.3% C 0.009 H 268.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3136 |
|---|---|
| RGB | rgb(47, 49, 54) |
| HSL | hsl(223, 7%, 20%) |
| HSV | hsv(223, 13%, 21%) |
| CMYK | cmyk(13%, 9.3%, 0%, 78.8%) |
| CIE-LAB | lab(20.31, 0.37, -3.47) |
| CIE-LCH | lch(20.31, 3.49, 276.14°) |
| OKLab | oklab(31.32% -0.0003 -0.0093) |
| OKLCH | oklch(31.32% 0.009 268.3) |
| XYZ | xyz(2.9363, 3.0673, 3.9267) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Onyx
#353839
ΔE00 3.64
Dark Grey
#363737
ΔE00 3.78
Gunmetal
#2A3439
ΔE00 4.40
Charcoal (survey)
#343837
ΔE00 5.00
Charcoal Grey
#3C4142
ΔE00 6.12
Dark
#1B2431
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3136 #36342F
analogous
#2F3536 #2F3136 #312F36
triadic
#2F3136 #362F31 #31362F
tetradic
#2F3136 #362F35 #36342F #2F3631
square
#2F3136 #362F35 #36342F #2F3631
split-complementary
#2F3136 #36312F #35362F
monochromatic
#0E0F10 #131315 #2F3136 #4B4F57 #686C77
Accessibility & contrast
On white
13.02
#2F3136 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2F3136 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3136
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3136 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303136
Deuteranopia (green-blind)
#2F3136
Tritanopia (blue-blind)
#2D3233
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f3136; /* rgb */ color: rgb(47, 49, 54); /* oklch */ color: oklch(31.3% 0.009 268.3);
Tailwind
colors: {
custom: {
50: '#67696d',
500: '#2f3136',
950: '#000000',
},
}SCSS
$custom: #2f3136; $custom-light: #67696d; $custom-dark: #000000;
JSON
{
"hex": "#2f3136",
"rgb": {
"r": 47,
"g": 49,
"b": 54
},
"hsl": {
"h": 222.857,
"s": 6.931,
"l": 19.804
},
"oklch": {
"l": 0.31315,
"c": 0.00934,
"h": 268.3
},
"luminance": 0.03067
}Semantic roles & 50–950 ramp
primary
#2F3136
secondary
#65625C
accent
#A078B0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060607
muted
#7A7A7A