#2F372F#2F372F

#2F372F is a dark, near-neutral grey. Relative luminance 0.035; OKLCH L 32.6% C 0.018 H 145.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2F372F
RGBrgb(47, 55, 47)
HSLhsl(120, 8%, 20%)
HSVhsv(120, 15%, 22%)
CMYKcmyk(14.5%, 0%, 14.5%, 78.4%)
CIE-LABlab(22.10, -5.29, 3.89)
CIE-LCHlch(22.10, 6.56, 143.70°)
OKLaboklab(32.65% -0.0145 0.0101)
OKLCHoklch(32.65% 0.018 145.1)
XYZxyz(3.0515, 3.5419, 3.2117)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F372F #372F37
analogous
#33372F #2F372F #2F3733
triadic
#2F372F #2F2F37 #372F2F
tetradic
#2F372F #2F3337 #372F37 #37332F
square
#2F372F #2F3337 #372F37 #37332F
split-complementary
#2F372F #332F37 #372F33
monochromatic
#0E100E #131613 #2F372F #4B584B #677967

Accessibility & contrast

On white

12.29
#2F372F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F372F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F372F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F372F#FFFFFF#000000##FFFFFF
##2F372F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#36352F
Tritanopia (blue-blind)
#2E3635
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f372f;
/* rgb */ color: rgb(47, 55, 47);
/* oklch */ color: oklch(32.6% 0.018 145.1);
Tailwind
colors: {
  custom: {
    50: '#676d67',
    500: '#2f372f',
    950: '#000000',
  },
}
SCSS
$custom: #2f372f;
$custom-light: #676d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f372f",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 7.843,
    "l": 20
  },
  "oklch": {
    "l": 0.32648,
    "c": 0.01766,
    "h": 145.1
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#2F372F
secondary
#665C66
accent
#77B1B1
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #2F372F

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

Preview Lab → · Contrast checker → · Palette generator →

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