#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
RGBrgb(47, 49, 54)
HSLhsl(223, 7%, 20%)
HSVhsv(223, 13%, 21%)
CMYKcmyk(13%, 9.3%, 0%, 78.8%)
CIE-LABlab(20.31, 0.37, -3.47)
CIE-LCHlch(20.31, 3.49, 276.14°)
OKLaboklab(31.32% -0.0003 -0.0093)
OKLCHoklch(31.32% 0.009 268.3)
XYZxyz(2.9363, 3.0673, 3.9267)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##2F31361.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.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

Preview Lab

Preview with #2F3136

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F3136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva