#2E2829#2E2829

#2E2829 is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.4% C 0.009 H 6.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#2E2829
RGBrgb(46, 40, 41)
HSLhsl(350, 7%, 17%)
HSVhsv(350, 13%, 18%)
CMYKcmyk(0%, 13%, 10.9%, 82%)
CIE-LABlab(16.79, 2.99, 0.36)
CIE-LCHlch(16.79, 3.01, 6.82°)
OKLaboklab(28.38% 0.009 0.001)
OKLCHoklch(28.38% 0.009 6.3)
XYZxyz(2.2857, 2.2586, 2.4129)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2829 #282E2D
analogous
#2E282C #2E2829 #2E2A28
triadic
#2E2829 #292E28 #28292E
tetradic
#2E2829 #2C2E28 #282E2D #2A282E
square
#2E2829 #2C2E28 #282E2D #2A282E
split-complementary
#2E2829 #282E2A #282C2E
monochromatic
#100E0F #100E0F #2E2829 #4F4446 #6F6163

Accessibility & contrast

On white

14.46
#2E2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2829
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2829#FFFFFF#000000##FFFFFF
##2E28291.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#2A2A29
Tritanopia (blue-blind)
#2F2828
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2829;
/* rgb */ color: rgb(46, 40, 41);
/* oklch */ color: oklch(28.4% 0.009 6.3);
Tailwind
colors: {
  custom: {
    50: '#666162',
    500: '#2e2829',
    950: '#000000',
  },
}
SCSS
$custom: #2e2829;
$custom-light: #666162;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2829",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 350,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2838,
    "c": 0.00904,
    "h": 6.3
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#2E2829
secondary
#555D5C
accent
#B0A778
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2E2829

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

Preview Lab → · Contrast checker → · Palette generator →

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