#2A2D2C#2A2D2C

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

Color values

HEX#2A2D2C
RGBrgb(42, 45, 44)
HSLhsl(160, 3%, 17%)
HSVhsv(160, 7%, 18%)
CMYKcmyk(6.7%, 0%, 2.2%, 82.4%)
CIE-LABlab(18.15, -1.57, 0.19)
CIE-LCHlch(18.15, 1.58, 173.22°)
OKLaboklab(29.38% -0.0046 0.0005)
OKLCHoklch(29.38% 0.005 174.2)
XYZxyz(2.3478, 2.5508, 2.7511)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2C #2D2A2B
analogous
#2A2D2B #2A2D2C #2A2D2D
triadic
#2A2D2C #2C2A2D #2D2C2A
tetradic
#2A2D2C #2B2A2D #2D2A2B #2D2D2A
square
#2A2D2C #2B2A2D #2D2A2B #2D2D2A
split-complementary
#2A2D2C #2D2A2D #2D2B2A
monochromatic
#0F100F #0F100F #2A2D2C #484D4B #656C6A

Accessibility & contrast

On white

13.91
#2A2D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D2C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2C#FFFFFF#000000##FFFFFF
##2A2D2C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d2c;
/* rgb */ color: rgb(42, 45, 44);
/* oklch */ color: oklch(29.4% 0.005 174.2);
Tailwind
colors: {
  custom: {
    50: '#636565',
    500: '#2a2d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2c;
$custom-light: #636565;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2c",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 44
  },
  "hsl": {
    "h": 160,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29378,
    "c": 0.00461,
    "h": 174.2
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#2A2D2C
secondary
#5C5759
accent
#7B8CAD
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #2A2D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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