#2D2A2E#2D2A2E

#2D2A2E is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.008 H 317.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#2D2A2E
RGBrgb(45, 42, 46)
HSLhsl(285, 5%, 17%)
HSVhsv(285, 9%, 18%)
CMYKcmyk(2.2%, 8.7%, 0%, 82%)
CIE-LABlab(17.51, 2.31, -2.11)
CIE-LCHlch(17.51, 3.12, 317.59°)
OKLaboklab(28.98% 0.0062 -0.0056)
OKLCHoklch(28.98% 0.008 317.7)
XYZxyz(2.4032, 2.4111, 2.9230)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A2E #2B2E2A
analogous
#2B2A2E #2D2A2E #2E2A2D
triadic
#2D2A2E #2E2D2A #2A2E2D
tetradic
#2D2A2E #2E2B2A #2B2E2A #2A2D2E
square
#2D2A2E #2E2B2A #2B2E2A #2A2D2E
split-complementary
#2D2A2E #2D2E2A #2A2E2B
monochromatic
#100F10 #100F10 #2D2A2E #4C474E #6C646E

Accessibility & contrast

On white

14.17
#2D2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A2E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A2E#FFFFFF#000000##FFFFFF
##2D2A2E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2a2e;
/* rgb */ color: rgb(45, 42, 46);
/* oklch */ color: oklch(29.0% 0.008 317.7);
Tailwind
colors: {
  custom: {
    50: '#656366',
    500: '#2d2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a2e;
$custom-light: #656366;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a2e",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 285,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.00832,
    "h": 317.7
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#2D2A2E
secondary
#585D57
accent
#AE7A87
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2D2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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