#2E3434#2E3434

#2E3434 is a dark, near-neutral grey. Relative luminance 0.033; OKLCH L 31.9% C 0.008 H 196.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2E3434
RGBrgb(46, 52, 52)
HSLhsl(180, 6%, 19%)
HSVhsv(180, 12%, 20%)
CMYKcmyk(11.5%, 0%, 0%, 79.6%)
CIE-LABlab(21.15, -2.56, -0.88)
CIE-LCHlch(21.15, 2.71, 198.89°)
OKLaboklab(31.93% -0.0079 -0.0024)
OKLCHoklch(31.93% 0.008 196.7)
XYZxyz(2.9744, 3.2847, 3.7255)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3434 #342E2E
analogous
#2E3431 #2E3434 #2E3134
triadic
#2E3434 #342E34 #34342E
tetradic
#2E3434 #312E34 #342E2E #31342E
square
#2E3434 #312E34 #342E2E #31342E
split-complementary
#2E3434 #342E31 #34312E
monochromatic
#0E1010 #111414 #2E3434 #4B5454 #677575

Accessibility & contrast

On white

12.67
#2E3434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E3434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3434
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3434#FFFFFF#000000##FFFFFF
##2E34341.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#323234
Tritanopia (blue-blind)
#2C3434
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e3434;
/* rgb */ color: rgb(46, 52, 52);
/* oklch */ color: oklch(31.9% 0.008 196.7);
Tailwind
colors: {
  custom: {
    50: '#666b6b',
    500: '#2e3434',
    950: '#000000',
  },
}
SCSS
$custom: #2e3434;
$custom-light: #666b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3434",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 52
  },
  "hsl": {
    "h": 180,
    "s": 6.122,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.00826,
    "h": 196.7
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#2E3434
secondary
#635B5B
accent
#7979AF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E3434

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

Preview Lab → · Contrast checker → · Palette generator →

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