#2E2A2E#2E2A2E

#2E2A2E is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.1% C 0.009 H 325.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#2E2A2E
RGBrgb(46, 42, 46)
HSLhsl(300, 5%, 17%)
HSVhsv(300, 9%, 18%)
CMYKcmyk(0%, 8.7%, 0%, 82%)
CIE-LABlab(17.62, 2.75, -1.94)
CIE-LCHlch(17.62, 3.36, 324.83°)
OKLaboklab(29.09% 0.0076 -0.0051)
OKLCHoklch(29.09% 0.009 325.8)
XYZxyz(2.4477, 2.4340, 2.9251)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A2E #2A2E2A
analogous
#2C2A2E #2E2A2E #2E2A2C
triadic
#2E2A2E #2E2E2A #2A2E2E
tetradic
#2E2A2E #2E2C2A #2A2E2A #2A2C2E
square
#2E2A2E #2E2C2A #2A2E2A #2A2C2E
split-complementary
#2E2A2E #2C2E2A #2A2E2C
monochromatic
#100F10 #100F10 #2E2A2E #4E474E #6E646E

Accessibility & contrast

On white

14.12
#2E2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A2E
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A2E#FFFFFF#000000##FFFFFF
##2E2A2E1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2B2B2E
Tritanopia (blue-blind)
#2E2A2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2a2e;
/* rgb */ color: rgb(46, 42, 46);
/* oklch */ color: oklch(29.1% 0.009 325.8);
Tailwind
colors: {
  custom: {
    50: '#666366',
    500: '#2e2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a2e;
$custom-light: #666366;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a2e",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.00914,
    "h": 325.8
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#2E2A2E
secondary
#575D57
accent
#AE7A7A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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