#2F342D#2F342D

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

Color values

HEX#2F342D
RGBrgb(47, 52, 45)
HSLhsl(103, 7%, 19%)
HSVhsv(103, 13%, 20%)
CMYKcmyk(9.6%, 0%, 13.5%, 79.6%)
CIE-LABlab(21.02, -3.79, 3.70)
CIE-LCHlch(21.02, 5.30, 135.70°)
OKLaboklab(31.77% -0.0102 0.0096)
OKLCHoklch(31.77% 0.014 136.6)
XYZxyz(2.8738, 3.2498, 2.9580)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342D #322D34
analogous
#33342D #2F342D #2D342F
triadic
#2F342D #2D2F34 #342D2F
tetradic
#2F342D #2D3334 #322D34 #342F2D
square
#2F342D #2D3334 #322D34 #342F2D
split-complementary
#2F342D #2F2D34 #342D33
monochromatic
#0F100E #111311 #2F342D #4D5549 #6A7666

Accessibility & contrast

On white

12.73
#2F342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F342D
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342D#FFFFFF#000000##FFFFFF
##2F342D1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#34322D
Tritanopia (blue-blind)
#2F3332
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f342d;
/* rgb */ color: rgb(47, 52, 45);
/* oklch */ color: oklch(31.8% 0.014 136.6);
Tailwind
colors: {
  custom: {
    50: '#676b65',
    500: '#2f342d',
    950: '#000000',
  },
}
SCSS
$custom: #2f342d;
$custom-light: #676b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342d",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 102.857,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31773,
    "c": 0.01401,
    "h": 136.6
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#2F342D
secondary
#605A63
accent
#78B0A0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2F342D

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

Preview Lab → · Contrast checker → · Palette generator →

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