#2D342E#2D342E

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

Color values

HEX#2D342E
RGBrgb(45, 52, 46)
HSLhsl(129, 7%, 19%)
HSVhsv(129, 13%, 20%)
CMYKcmyk(13.5%, 0%, 11.5%, 79.6%)
CIE-LABlab(20.87, -4.44, 2.79)
CIE-LCHlch(20.87, 5.24, 147.90°)
OKLaboklab(31.62% -0.0123 0.0073)
OKLCHoklch(31.62% 0.014 149.4)
XYZxyz(2.8032, 3.2111, 3.0564)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D342E #342D33
analogous
#30342D #2D342E #2D3432
triadic
#2D342E #2E2D34 #342E2D
tetradic
#2D342E #2D3034 #342D33 #34322D
square
#2D342E #2D3034 #342D33 #34322D
split-complementary
#2D342E #322D34 #342D30
monochromatic
#0E100F #111311 #2D342E #49554B #667668

Accessibility & contrast

On white

12.79
#2D342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D342E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D342E#FFFFFF#000000##FFFFFF
##2D342E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d342e;
/* rgb */ color: rgb(45, 52, 46);
/* oklch */ color: oklch(31.6% 0.014 149.4);
Tailwind
colors: {
  custom: {
    50: '#656b66',
    500: '#2d342e',
    950: '#000000',
  },
}
SCSS
$custom: #2d342e;
$custom-light: #656b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d342e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 128.571,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31622,
    "c": 0.01425,
    "h": 149.4
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#2D342E
secondary
#635A62
accent
#78A8B0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D342E

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

Preview Lab → · Contrast checker → · Palette generator →

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