#2E282C#2E282C

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

Color values

HEX#2E282C
RGBrgb(46, 40, 44)
HSLhsl(320, 7%, 17%)
HSVhsv(320, 13%, 18%)
CMYKcmyk(0%, 13%, 4.3%, 82%)
CIE-LABlab(16.89, 3.67, -1.60)
CIE-LCHlch(16.89, 4.01, 336.42°)
OKLaboklab(28.5% 0.0105 -0.0042)
OKLCHoklch(28.5% 0.011 338)
XYZxyz(2.3401, 2.2803, 2.6993)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E282C #282E2A
analogous
#2D282E #2E282C #2E2829
triadic
#2E282C #2C2E28 #282C2E
tetradic
#2E282C #2E2D28 #282E2A #28292E
square
#2E282C #2E2D28 #282E2A #28292E
split-complementary
#2E282C #292E28 #282E2D
monochromatic
#100E10 #100E10 #2E282C #4F444B #6F616B

Accessibility & contrast

On white

14.42
#2E282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E282C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E282C
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E282C#FFFFFF#000000##FFFFFF
##2E282C1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292C
Deuteranopia (green-blind)
#292A2C
Tritanopia (blue-blind)
#2F2829
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e282c;
/* rgb */ color: rgb(46, 40, 44);
/* oklch */ color: oklch(28.5% 0.011 338.0);
Tailwind
colors: {
  custom: {
    50: '#666165',
    500: '#2e282c',
    950: '#000000',
  },
}
SCSS
$custom: #2e282c;
$custom-light: #666165;
$custom-dark: #000000;
JSON
{
  "hex": "#2e282c",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 320,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28497,
    "c": 0.01128,
    "h": 338
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#2E282C
secondary
#555D57
accent
#B08B78
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #2E282C

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

Preview Lab → · Contrast checker → · Palette generator →

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