#2E282D#2E282D

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

Color values

HEX#2E282D
RGBrgb(46, 40, 45)
HSLhsl(310, 7%, 17%)
HSVhsv(310, 13%, 18%)
CMYKcmyk(0%, 13%, 2.2%, 82%)
CIE-LABlab(16.93, 3.91, -2.25)
CIE-LCHlch(16.93, 4.51, 330.04°)
OKLaboklab(28.54% 0.0109 -0.006)
OKLCHoklch(28.54% 0.012 331.4)
XYZxyz(2.3591, 2.2879, 2.7994)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E282D #282E29
analogous
#2C282E #2E282D #2E282A
triadic
#2E282D #2D2E28 #282D2E
tetradic
#2E282D #2E2C28 #282E29 #282A2E
square
#2E282D #2E2C28 #282E29 #282A2E
split-complementary
#2E282D #2A2E28 #282E2C
monochromatic
#100E10 #100E10 #2E282D #4F444D #6F616D

Accessibility & contrast

On white

14.41
#2E282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E282D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E282D#FFFFFF#000000##FFFFFF
##2E282D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#2F282A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e282d;
/* rgb */ color: rgb(46, 40, 45);
/* oklch */ color: oklch(28.5% 0.012 331.4);
Tailwind
colors: {
  custom: {
    50: '#666165',
    500: '#2e282d',
    950: '#000000',
  },
}
SCSS
$custom: #2e282d;
$custom-light: #666165;
$custom-dark: #000000;
JSON
{
  "hex": "#2e282d",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 310,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28537,
    "c": 0.01246,
    "h": 331.4
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#2E282D
secondary
#555D56
accent
#B08178
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #2E282D

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

Preview Lab → · Contrast checker → · Palette generator →

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