#2D2A2B#2D2A2B

#2D2A2B is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.005 H 355.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2D2A2B
RGBrgb(45, 42, 43)
HSLhsl(340, 3%, 17%)
HSVhsv(340, 7%, 18%)
CMYKcmyk(0%, 6.7%, 4.4%, 82.4%)
CIE-LABlab(17.41, 1.59, -0.16)
CIE-LCHlch(17.41, 1.60, 354.20°)
OKLaboklab(28.86% 0.0047 -0.0004)
OKLCHoklch(28.86% 0.005 355)
XYZxyz(2.3461, 2.3883, 2.6224)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A2B #2A2D2C
analogous
#2D2A2D #2D2A2B #2D2B2A
triadic
#2D2A2B #2B2D2A #2A2B2D
tetradic
#2D2A2B #2D2D2A #2A2D2C #2B2A2D
square
#2D2A2B #2D2D2A #2A2D2C #2B2A2D
split-complementary
#2D2A2B #2A2D2B #2A2D2D
monochromatic
#100F0F #100F0F #2D2A2B #4D4849 #6C6567

Accessibility & contrast

On white

14.21
#2D2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2D2A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A2B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A2B#FFFFFF#000000##FFFFFF
##2D2A2B1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2a2b;
/* rgb */ color: rgb(45, 42, 43);
/* oklch */ color: oklch(28.9% 0.005 355.0);
Tailwind
colors: {
  custom: {
    50: '#656364',
    500: '#2d2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a2b;
$custom-light: #656364;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a2b",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 340,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28858,
    "c": 0.00471,
    "h": 355
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#2D2A2B
secondary
#575C5A
accent
#AD9C7B
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#050505
muted
#7A7979

Preview Lab

Preview with #2D2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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