#2E2A2A#2E2A2A

#2E2A2A is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.006 H 17.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#2E2A2A
RGBrgb(46, 42, 42)
HSLhsl(0, 5%, 17%)
HSVhsv(0, 9%, 18%)
CMYKcmyk(0%, 8.7%, 8.7%, 82%)
CIE-LABlab(17.48, 1.82, 0.66)
CIE-LCHlch(17.48, 1.94, 19.84°)
OKLaboklab(28.93% 0.0056 0.0018)
OKLCHoklch(28.93% 0.006 17.4)
XYZxyz(2.3726, 2.4040, 2.5291)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A2A #2A2E2E
analogous
#2E2A2C #2E2A2A #2E2C2A
triadic
#2E2A2A #2A2E2A #2A2A2E
tetradic
#2E2A2A #2C2E2A #2A2E2E #2C2A2E
square
#2E2A2A #2C2E2A #2A2E2E #2C2A2E
split-complementary
#2E2A2A #2A2E2C #2A2C2E
monochromatic
#100F0F #100F0F #2E2A2A #4E4747 #6E6464

Accessibility & contrast

On white

14.18
#2E2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E2A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A2A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A2A#FFFFFF#000000##FFFFFF
##2E2A2A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A2A
Deuteranopia (green-blind)
#2C2B2A
Tritanopia (blue-blind)
#2F2A2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2a2a;
/* rgb */ color: rgb(46, 42, 42);
/* oklch */ color: oklch(28.9% 0.006 17.4);
Tailwind
colors: {
  custom: {
    50: '#666363',
    500: '#2e2a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a2a;
$custom-light: #666363;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a2a",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.00587,
    "h": 17.4
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#2E2A2A
secondary
#575D5D
accent
#AEAE7A
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2E2A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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