#2E2B2B#2E2B2B

#2E2B2B is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.004 H 17.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2B2B
RGBrgb(46, 43, 43)
HSLhsl(0, 3%, 17%)
HSVhsv(0, 7%, 18%)
CMYKcmyk(0%, 6.5%, 6.5%, 82%)
CIE-LABlab(17.84, 1.36, 0.49)
CIE-LCHlch(17.84, 1.44, 19.70°)
OKLaboklab(29.23% 0.0042 0.0013)
OKLCHoklch(29.23% 0.004 17.4)
XYZxyz(2.4266, 2.4830, 2.6365)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B2B #2B2E2E
analogous
#2E2B2D #2E2B2B #2E2D2B
triadic
#2E2B2B #2B2E2B #2B2B2E
tetradic
#2E2B2B #2D2E2B #2B2E2E #2D2B2E
square
#2E2B2B #2D2E2B #2B2E2E #2D2B2E
split-complementary
#2E2B2B #2B2E2D #2B2D2E
monochromatic
#100F0F #100F0F #2E2B2B #4E4949 #6D6666

Accessibility & contrast

On white

14.03
#2E2B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E2B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B2B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B2B#FFFFFF#000000##FFFFFF
##2E2B2B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#2C2C2B
Tritanopia (blue-blind)
#2F2B2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2b2b;
/* rgb */ color: rgb(46, 43, 43);
/* oklch */ color: oklch(29.2% 0.004 17.4);
Tailwind
colors: {
  custom: {
    50: '#666464',
    500: '#2e2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b2b;
$custom-light: #666464;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b2b",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 3.371,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.00437,
    "h": 17.4
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#2E2B2B
secondary
#585D5D
accent
#ADAD7B
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2E2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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