#2F342F#2F342F

#2F342F is a dark, near-neutral grey. Relative luminance 0.033; OKLCH L 31.8% C 0.011 H 145.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2F342F
RGBrgb(47, 52, 47)
HSLhsl(120, 5%, 19%)
HSVhsv(120, 10%, 20%)
CMYKcmyk(9.6%, 0%, 9.6%, 79.6%)
CIE-LABlab(21.08, -3.34, 2.43)
CIE-LCHlch(21.08, 4.13, 143.97°)
OKLaboklab(31.84% -0.0091 0.0063)
OKLCHoklch(31.84% 0.011 145.3)
XYZxyz(2.9133, 3.2655, 3.1656)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342F #342F34
analogous
#32342F #2F342F #2F3432
triadic
#2F342F #2F2F34 #342F2F
tetradic
#2F342F #2F3234 #342F34 #34322F
square
#2F342F #2F3234 #342F34 #34322F
split-complementary
#2F342F #322F34 #342F32
monochromatic
#0F100F #121412 #2F342F #4C544C #697469

Accessibility & contrast

On white

12.70
#2F342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F342F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F342F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342F#FFFFFF#000000##FFFFFF
##2F342F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#2F3433
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f342f;
/* rgb */ color: rgb(47, 52, 47);
/* oklch */ color: oklch(31.8% 0.011 145.3);
Tailwind
colors: {
  custom: {
    50: '#676b67',
    500: '#2f342f',
    950: '#000000',
  },
}
SCSS
$custom: #2f342f;
$custom-light: #676b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342f",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 5.051,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3184,
    "c": 0.01113,
    "h": 145.3
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#2F342F
secondary
#635C63
accent
#7AAEAE
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F342F

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

Preview Lab → · Contrast checker → · Palette generator →

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