#2E342F#2E342F

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

Color values

HEX#2E342F
RGBrgb(46, 52, 47)
HSLhsl(130, 6%, 19%)
HSVhsv(130, 12%, 20%)
CMYKcmyk(11.5%, 0%, 9.6%, 79.6%)
CIE-LABlab(20.99, -3.77, 2.29)
CIE-LCHlch(20.99, 4.41, 148.78°)
OKLaboklab(31.75% -0.0105 0.006)
OKLCHoklch(31.75% 0.012 150.3)
XYZxyz(2.8677, 3.2420, 3.1635)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E342F #342E33
analogous
#30342E #2E342F #2E3432
triadic
#2E342F #2F2E34 #342F2E
tetradic
#2E342F #2E3034 #342E33 #34322E
square
#2E342F #2E3034 #342E33 #34322E
split-complementary
#2E342F #322E34 #342E30
monochromatic
#0E100F #111412 #2E342F #4B544C #67756A

Accessibility & contrast

On white

12.74
#2E342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E342F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E342F#FFFFFF#000000##FFFFFF
##2E342F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e342f;
/* rgb */ color: rgb(46, 52, 47);
/* oklch */ color: oklch(31.7% 0.012 150.3);
Tailwind
colors: {
  custom: {
    50: '#666b67',
    500: '#2e342f',
    950: '#000000',
  },
}
SCSS
$custom: #2e342f;
$custom-light: #666b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e342f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 130,
    "s": 6.122,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.01204,
    "h": 150.3
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#2E342F
secondary
#635B62
accent
#79A6AF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E342F

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

Preview Lab → · Contrast checker → · Palette generator →

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