#2E2A28#2E2A28

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

Color values

HEX#2E2A28
RGBrgb(46, 42, 40)
HSLhsl(20, 7%, 17%)
HSVhsv(20, 13%, 18%)
CMYKcmyk(0%, 8.7%, 13%, 82%)
CIE-LABlab(17.41, 1.38, 1.96)
CIE-LCHlch(17.41, 2.40, 54.88°)
OKLaboklab(28.86% 0.0046 0.0052)
OKLCHoklch(28.86% 0.007 48.5)
XYZxyz(2.3376, 2.3900, 2.3452)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A28 #282C2E
analogous
#2E2829 #2E2A28 #2E2D28
triadic
#2E2A28 #282E2A #2A282E
tetradic
#2E2A28 #292E28 #282C2E #2D282E
square
#2E2A28 #292E28 #282C2E #2D282E
split-complementary
#2E2A28 #282E2D #28292E
monochromatic
#100F0E #100F0E #2E2A28 #4F4844 #6F6661

Accessibility & contrast

On white

14.21
#2E2A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A28
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A28#FFFFFF#000000##FFFFFF
##2E2A281.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A28
Deuteranopia (green-blind)
#2C2B28
Tritanopia (blue-blind)
#2F2929
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2a28;
/* rgb */ color: rgb(46, 42, 40);
/* oklch */ color: oklch(28.9% 0.007 48.5);
Tailwind
colors: {
  custom: {
    50: '#666361',
    500: '#2e2a28',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a28;
$custom-light: #666361;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a28",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 20,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28858,
    "c": 0.00691,
    "h": 48.5
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#2E2A28
secondary
#555A5D
accent
#9DB078
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060505
muted
#7A7979

Preview Lab

Preview with #2E2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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