#2E2D28#2E2D28

#2E2D28 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.009 H 97.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2E2D28
RGBrgb(46, 45, 40)
HSLhsl(50, 7%, 17%)
HSVhsv(50, 13%, 18%)
CMYKcmyk(0%, 2.2%, 13%, 82%)
CIE-LABlab(18.41, -0.67, 3.40)
CIE-LCHlch(18.41, 3.46, 101.13°)
OKLaboklab(29.64% -0.0012 0.0089)
OKLCHoklch(29.64% 0.009 97.7)
XYZxyz(2.4481, 2.6108, 2.3820)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D28 #28292E
analogous
#2E2A28 #2E2D28 #2C2E28
triadic
#2E2D28 #282E2D #2D282E
tetradic
#2E2D28 #282E2A #28292E #2E282C
square
#2E2D28 #282E2A #28292E #2E282C
split-complementary
#2E2D28 #282C2E #2A282E
monochromatic
#10100E #10100E #2E2D28 #4F4D44 #6F6D61

Accessibility & contrast

On white

13.80
#2E2D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2E2D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D28
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D28#FFFFFF#000000##FFFFFF
##2E2D281.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D28
Deuteranopia (green-blind)
#2E2D28
Tritanopia (blue-blind)
#2F2C2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2d28;
/* rgb */ color: rgb(46, 45, 40);
/* oklch */ color: oklch(29.6% 0.009 97.7);
Tailwind
colors: {
  custom: {
    50: '#666561',
    500: '#2e2d28',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d28;
$custom-light: #666561;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d28",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 40
  },
  "hsl": {
    "h": 50,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.00893,
    "h": 97.7
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#2E2D28
secondary
#55565D
accent
#81B078
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060505
muted
#7A7A79

Preview Lab

Preview with #2E2D28

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

Preview Lab → · Contrast checker → · Palette generator →

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