#2E282B#2E282B

#2E282B is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.5% C 0.010 H 346.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2E282B
RGBrgb(46, 40, 43)
HSLhsl(330, 7%, 17%)
HSVhsv(330, 13%, 18%)
CMYKcmyk(0%, 13%, 6.5%, 82%)
CIE-LABlab(16.86, 3.44, -0.95)
CIE-LCHlch(16.86, 3.57, 344.55°)
OKLaboklab(28.46% 0.01 -0.0025)
OKLCHoklch(28.46% 0.01 346)
XYZxyz(2.3215, 2.2729, 2.6014)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E282B #282E2B
analogous
#2E282E #2E282B #2E2828
triadic
#2E282B #2B2E28 #282B2E
tetradic
#2E282B #2E2E28 #282E2B #28282E
square
#2E282B #2E2E28 #282E2B #28282E
split-complementary
#2E282B #282E28 #282E2E
monochromatic
#100E0F #100E0F #2E282B #4F444A #6F6168

Accessibility & contrast

On white

14.44
#2E282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E282B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E282B#FFFFFF#000000##FFFFFF
##2E282B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#2F2829
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e282b;
/* rgb */ color: rgb(46, 40, 43);
/* oklch */ color: oklch(28.5% 0.010 346.0);
Tailwind
colors: {
  custom: {
    50: '#666164',
    500: '#2e282b',
    950: '#000000',
  },
}
SCSS
$custom: #2e282b;
$custom-light: #666164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e282b",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 330,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.01028,
    "h": 346
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2E282B
secondary
#555D59
accent
#B09478
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2E282B

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

Preview Lab → · Contrast checker → · Palette generator →

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