#2D2A2F#2D2A2F

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

Color values

HEX#2D2A2F
RGBrgb(45, 42, 47)
HSLhsl(276, 6%, 17%)
HSVhsv(276, 11%, 18%)
CMYKcmyk(4.3%, 10.6%, 0%, 81.6%)
CIE-LABlab(17.55, 2.55, -2.75)
CIE-LCHlch(17.55, 3.75, 312.85°)
OKLaboklab(29.02% 0.0066 -0.0073)
OKLCHoklch(29.02% 0.01 312.1)
XYZxyz(2.4232, 2.4191, 3.0280)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A2F #2C2F2A
analogous
#2B2A2F #2D2A2F #2F2A2F
triadic
#2D2A2F #2F2D2A #2A2F2D
tetradic
#2D2A2F #2F2B2A #2C2F2A #2A2F2F
square
#2D2A2F #2F2B2A #2C2F2A #2A2F2F
split-complementary
#2D2A2F #2F2F2A #2A2F2B
monochromatic
#0F0E10 #0F0E10 #2D2A2F #4C474F #6B6470

Accessibility & contrast

On white

14.15
#2D2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A2F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A2F#FFFFFF#000000##FFFFFF
##2D2A2F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#2D2B2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2a2f;
/* rgb */ color: rgb(45, 42, 47);
/* oklch */ color: oklch(29.0% 0.010 312.1);
Tailwind
colors: {
  custom: {
    50: '#656367',
    500: '#2d2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a2f;
$custom-light: #656367;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a2f",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 276,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29017,
    "c": 0.0099,
    "h": 312.1
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#2D2A2F
secondary
#5A5E57
accent
#AF798F
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2D2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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