#2D342F#2D342F

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

Color values

HEX#2D342F
RGBrgb(45, 52, 47)
HSLhsl(137, 7%, 19%)
HSVhsv(137, 13%, 20%)
CMYKcmyk(13.5%, 0%, 9.6%, 79.6%)
CIE-LABlab(20.90, -4.21, 2.15)
CIE-LCHlch(20.90, 4.73, 152.92°)
OKLaboklab(31.66% -0.0117 0.0056)
OKLCHoklch(31.66% 0.013 154.5)
XYZxyz(2.8232, 3.2191, 3.1614)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D342F #342D32
analogous
#2F342D #2D342F #2D3433
triadic
#2D342F #2F2D34 #342F2D
tetradic
#2D342F #2D2F34 #342D32 #34332D
square
#2D342F #2D2F34 #342D32 #34332D
split-complementary
#2D342F #332D34 #342D2F
monochromatic
#0E100F #111311 #2D342F #49554D #66766A

Accessibility & contrast

On white

12.78
#2D342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D342F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D342F#FFFFFF#000000##FFFFFF
##2D342F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d342f;
/* rgb */ color: rgb(45, 52, 47);
/* oklch */ color: oklch(31.7% 0.013 154.5);
Tailwind
colors: {
  custom: {
    50: '#656b67',
    500: '#2d342f',
    950: '#000000',
  },
}
SCSS
$custom: #2d342f;
$custom-light: #656b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d342f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 137.143,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31656,
    "c": 0.01302,
    "h": 154.5
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#2D342F
secondary
#635A60
accent
#78A0B0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D342F

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

Preview Lab → · Contrast checker → · Palette generator →

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