#2E2E28#2E2E28

#2E2E28 is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.011 H 107.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2E28
RGBrgb(46, 46, 40)
HSLhsl(60, 7%, 17%)
HSVhsv(60, 13%, 18%)
CMYKcmyk(0%, 0%, 13%, 82%)
CIE-LABlab(18.75, -1.34, 3.87)
CIE-LCHlch(18.75, 4.10, 109.13°)
OKLaboklab(29.91% -0.0031 0.0101)
OKLCHoklch(29.91% 0.011 107)
XYZxyz(2.4867, 2.6880, 2.3949)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E28 #28282E
analogous
#2E2B28 #2E2E28 #2B2E28
triadic
#2E2E28 #282E2E #2E282E
tetradic
#2E2E28 #282E2B #28282E #2E282B
square
#2E2E28 #282E2B #28282E #2E282B
split-complementary
#2E2E28 #282B2E #2B282E
monochromatic
#10100E #10100E #2E2E28 #4F4F44 #6F6F61

Accessibility & contrast

On white

13.66
#2E2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E28
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E28#FFFFFF#000000##FFFFFF
##2E2E281.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D28
Deuteranopia (green-blind)
#2F2E28
Tritanopia (blue-blind)
#2F2D2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2e28;
/* rgb */ color: rgb(46, 46, 40);
/* oklch */ color: oklch(29.9% 0.011 107.0);
Tailwind
colors: {
  custom: {
    50: '#666661',
    500: '#2e2e28',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e28;
$custom-light: #666661;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e28",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.01053,
    "h": 107
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#2E2E28
secondary
#55555D
accent
#78B078
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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