#2D2B2B#2D2B2B

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

Color values

HEX#2D2B2B
RGBrgb(45, 43, 43)
HSLhsl(0, 2%, 17%)
HSVhsv(0, 4%, 18%)
CMYKcmyk(0%, 4.4%, 4.4%, 82.4%)
CIE-LABlab(17.74, 0.90, 0.32)
CIE-LCHlch(17.74, 0.96, 19.65°)
OKLaboklab(29.12% 0.0028 0.0009)
OKLCHoklch(29.12% 0.003 17.4)
XYZxyz(2.3820, 2.4601, 2.6344)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B2B #2B2D2D
analogous
#2D2B2C #2D2B2B #2D2C2B
triadic
#2D2B2B #2B2D2B #2B2B2D
tetradic
#2D2B2B #2C2D2B #2B2D2D #2C2B2D
square
#2D2B2B #2C2D2B #2B2D2D #2C2B2D
split-complementary
#2D2B2B #2B2D2C #2B2C2D
monochromatic
#100F0F #100F0F #2D2B2B #4C4949 #6C6767

Accessibility & contrast

On white

14.08
#2D2B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D2B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B2B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B2B#FFFFFF#000000##FFFFFF
##2D2B2B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2b2b;
/* rgb */ color: rgb(45, 43, 43);
/* oklch */ color: oklch(29.1% 0.003 17.4);
Tailwind
colors: {
  custom: {
    50: '#656464',
    500: '#2d2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b2b;
$custom-light: #656464;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b2b",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 2.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29118,
    "c": 0.00291,
    "h": 17.4
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#2D2B2B
secondary
#585B5B
accent
#ACAC7C
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#050505
muted
#7A7979

Preview Lab

Preview with #2D2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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