#2D2E2A#2D2E2A

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

Color values

HEX#2D2E2A
RGBrgb(45, 46, 42)
HSLhsl(75, 5%, 17%)
HSVhsv(75, 9%, 18%)
CMYKcmyk(2.2%, 0%, 8.7%, 82%)
CIE-LABlab(18.71, -1.37, 2.42)
CIE-LCHlch(18.71, 2.78, 119.47°)
OKLaboklab(29.87% -0.0034 0.0063)
OKLCHoklch(29.87% 0.007 118.3)
XYZxyz(2.4770, 2.6790, 2.5767)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E2A #2B2A2E
analogous
#2E2D2A #2D2E2A #2B2E2A
triadic
#2D2E2A #2A2D2E #2E2A2D
tetradic
#2D2E2A #2A2E2D #2B2A2E #2E2A2B
square
#2D2E2A #2A2E2D #2B2A2E #2E2A2B
split-complementary
#2D2E2A #2A2B2E #2D2A2E
monochromatic
#10100F #10100F #2D2E2A #4C4E47 #6C6E64

Accessibility & contrast

On white

13.67
#2D2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E2A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E2A#FFFFFF#000000##FFFFFF
##2D2E2A1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2A
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#2D2E2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2e2a;
/* rgb */ color: rgb(45, 46, 42);
/* oklch */ color: oklch(29.9% 0.007 118.3);
Tailwind
colors: {
  custom: {
    50: '#656663',
    500: '#2d2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e2a;
$custom-light: #656663;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e2a",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 75,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29872,
    "c": 0.0072,
    "h": 118.3
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#2D2E2A
secondary
#58575D
accent
#7AAE87
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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