#2F3733#2F3733

#2F3733 is a dark, near-neutral grey. Relative luminance 0.036; OKLCH L 32.8% C 0.013 H 164.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2F3733
RGBrgb(47, 55, 51)
HSLhsl(150, 8%, 20%)
HSVhsv(150, 15%, 22%)
CMYKcmyk(14.5%, 0%, 7.3%, 78.4%)
CIE-LABlab(22.22, -4.36, 1.37)
CIE-LCHlch(22.22, 4.57, 162.61°)
OKLaboklab(32.78% -0.0124 0.0035)
OKLCHoklch(32.78% 0.013 164.1)
XYZxyz(3.1359, 3.5757, 3.6563)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3733 #372F33
analogous
#2F372F #2F3733 #2F3737
triadic
#2F3733 #332F37 #37332F
tetradic
#2F3733 #2F2F37 #372F33 #37372F
square
#2F3733 #2F2F37 #372F33 #37372F
split-complementary
#2F3733 #372F37 #372F2F
monochromatic
#0E100F #131614 #2F3733 #4B5852 #677970

Accessibility & contrast

On white

12.24
#2F3733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2F3733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3733
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3733#FFFFFF#000000##FFFFFF
##2F37331.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373633
Deuteranopia (green-blind)
#353533
Tritanopia (blue-blind)
#2E3736
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3733;
/* rgb */ color: rgb(47, 55, 51);
/* oklch */ color: oklch(32.8% 0.013 164.1);
Tailwind
colors: {
  custom: {
    50: '#676d6a',
    500: '#2f3733',
    950: '#000000',
  },
}
SCSS
$custom: #2f3733;
$custom-light: #676d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3733",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 51
  },
  "hsl": {
    "h": 150,
    "s": 7.843,
    "l": 20
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.01291,
    "h": 164.1
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#2F3733
secondary
#665C61
accent
#7794B1
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #2F3733

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

Preview Lab → · Contrast checker → · Palette generator →

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