#2A2D2B#2A2D2B

#2A2D2B is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.006 H 156.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2A2D2B
RGBrgb(42, 45, 43)
HSLhsl(140, 3%, 17%)
HSVhsv(140, 7%, 18%)
CMYKcmyk(6.7%, 0%, 4.4%, 82.4%)
CIE-LABlab(18.11, -1.81, 0.83)
CIE-LCHlch(18.11, 1.99, 155.28°)
OKLaboklab(29.34% -0.0051 0.0022)
OKLCHoklch(29.34% 0.006 156.9)
XYZxyz(2.3292, 2.5434, 2.6532)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2B #2D2A2C
analogous
#2B2D2A #2A2D2B #2A2D2D
triadic
#2A2D2B #2B2A2D #2D2B2A
tetradic
#2A2D2B #2A2B2D #2D2A2C #2D2D2A
square
#2A2D2B #2A2B2D #2D2A2C #2D2D2A
split-complementary
#2A2D2B #2D2A2D #2D2A2B
monochromatic
#0F100F #0F100F #2A2D2B #484D49 #656C67

Accessibility & contrast

On white

13.92
#2A2D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D2B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2B#FFFFFF#000000##FFFFFF
##2A2D2B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2B
Deuteranopia (green-blind)
#2C2C2B
Tritanopia (blue-blind)
#2A2D2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2d2b;
/* rgb */ color: rgb(42, 45, 43);
/* oklch */ color: oklch(29.3% 0.006 156.9);
Tailwind
colors: {
  custom: {
    50: '#636564',
    500: '#2a2d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2b;
$custom-light: #636564;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2b",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 140,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29341,
    "c": 0.00555,
    "h": 156.9
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#2A2D2B
secondary
#5C575A
accent
#7B9CAD
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #2A2D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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