#2A2D2D#2A2D2D

#2A2D2D is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.4% C 0.004 H 196.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2D2D
RGBrgb(42, 45, 45)
HSLhsl(180, 3%, 17%)
HSVhsv(180, 7%, 18%)
CMYKcmyk(6.7%, 0%, 0%, 82.4%)
CIE-LABlab(18.18, -1.32, -0.46)
CIE-LCHlch(18.18, 1.40, 199.10°)
OKLaboklab(29.42% -0.0041 -0.0012)
OKLCHoklch(29.42% 0.004 196.9)
XYZxyz(2.3668, 2.5585, 2.8513)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2D #2D2A2A
analogous
#2A2D2C #2A2D2D #2A2C2D
triadic
#2A2D2D #2D2A2D #2D2D2A
tetradic
#2A2D2D #2C2A2D #2D2A2A #2C2D2A
square
#2A2D2D #2C2A2D #2D2A2A #2C2D2A
split-complementary
#2A2D2D #2D2A2C #2D2C2A
monochromatic
#0F1010 #0F1010 #2A2D2D #484D4D #656C6C

Accessibility & contrast

On white

13.89
#2A2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D2D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2D#FFFFFF#000000##FFFFFF
##2A2D2D1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2D
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#292D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2d2d;
/* rgb */ color: rgb(42, 45, 45);
/* oklch */ color: oklch(29.4% 0.004 196.9);
Tailwind
colors: {
  custom: {
    50: '#636565',
    500: '#2a2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2d;
$custom-light: #636565;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2d",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 180,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.00426,
    "h": 196.9
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#2A2D2D
secondary
#5C5757
accent
#7B7BAD
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #2A2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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