#2F3333#2F3333

#2F3333 is a dark, near-neutral grey. Relative luminance 0.032; OKLCH L 31.7% C 0.006 H 196.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#2F3333
RGBrgb(47, 51, 51)
HSLhsl(180, 4%, 19%)
HSVhsv(180, 8%, 20%)
CMYKcmyk(7.8%, 0%, 0%, 80%)
CIE-LABlab(20.87, -1.73, -0.60)
CIE-LCHlch(20.87, 1.83, 199.03°)
OKLaboklab(31.72% -0.0053 -0.0016)
OKLCHoklch(31.72% 0.006 196.8)
XYZxyz(2.9535, 3.2110, 3.5955)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3333 #332F2F
analogous
#2F3331 #2F3333 #2F3133
triadic
#2F3333 #332F33 #33332F
tetradic
#2F3333 #312F33 #332F2F #31332F
square
#2F3333 #312F33 #332F2F #31332F
split-complementary
#2F3333 #332F31 #33312F
monochromatic
#0F1010 #121313 #2F3333 #4C5353 #6A7373

Accessibility & contrast

On white

12.79
#2F3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3333
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3333#FFFFFF#000000##FFFFFF
##2F33331.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323333
Deuteranopia (green-blind)
#323233
Tritanopia (blue-blind)
#2E3333
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3333;
/* rgb */ color: rgb(47, 51, 51);
/* oklch */ color: oklch(31.7% 0.006 196.8);
Tailwind
colors: {
  custom: {
    50: '#676a6a',
    500: '#2f3333',
    950: '#000000',
  },
}
SCSS
$custom: #2f3333;
$custom-light: #676a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3333",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 180,
    "s": 4.082,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31719,
    "c": 0.00556,
    "h": 196.8
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#2F3333
secondary
#625C5C
accent
#7B7BAD
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F3333

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

Preview Lab → · Contrast checker → · Palette generator →

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