#2F332F#2F332F

#2F332F is a dark, near-neutral grey. Relative luminance 0.032; OKLCH L 31.6% C 0.009 H 145.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2F332F
RGBrgb(47, 51, 47)
HSLhsl(120, 4%, 19%)
HSVhsv(120, 8%, 20%)
CMYKcmyk(7.8%, 0%, 7.8%, 80%)
CIE-LABlab(20.74, -2.68, 1.94)
CIE-LCHlch(20.74, 3.31, 144.07°)
OKLaboklab(31.57% -0.0073 0.0051)
OKLCHoklch(31.57% 0.009 145.3)
XYZxyz(2.8691, 3.1772, 3.1509)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F332F #332F33
analogous
#31332F #2F332F #2F3331
triadic
#2F332F #2F2F33 #332F2F
tetradic
#2F332F #2F3133 #332F33 #33312F
square
#2F332F #2F3133 #332F33 #33312F
split-complementary
#2F332F #312F33 #332F31
monochromatic
#0F100F #121312 #2F332F #4C534C #6A736A

Accessibility & contrast

On white

12.84
#2F332F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F332F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F332F#FFFFFF#000000##FFFFFF
##2F332F1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#32322F
Tritanopia (blue-blind)
#2F3332
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f332f;
/* rgb */ color: rgb(47, 51, 47);
/* oklch */ color: oklch(31.6% 0.009 145.3);
Tailwind
colors: {
  custom: {
    50: '#676a67',
    500: '#2f332f',
    950: '#000000',
  },
}
SCSS
$custom: #2f332f;
$custom-light: #676a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f332f",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 4.082,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.00893,
    "h": 145.3
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#2F332F
secondary
#625C62
accent
#7BADAD
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F332F

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

Preview Lab → · Contrast checker → · Palette generator →

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