#2A2D2A#2A2D2A

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

Color values

HEX#2A2D2A
RGBrgb(42, 45, 42)
HSLhsl(120, 3%, 17%)
HSVhsv(120, 7%, 18%)
CMYKcmyk(6.7%, 0%, 6.7%, 82.4%)
CIE-LABlab(18.08, -2.05, 1.48)
CIE-LCHlch(18.08, 2.53, 144.13°)
OKLaboklab(29.3% -0.0056 0.0039)
OKLCHoklch(29.3% 0.007 145.4)
XYZxyz(2.3111, 2.5362, 2.5578)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2A #2D2A2D
analogous
#2C2D2A #2A2D2A #2A2D2C
triadic
#2A2D2A #2A2A2D #2D2A2A
tetradic
#2A2D2A #2A2C2D #2D2A2D #2D2C2A
square
#2A2D2A #2A2C2D #2D2A2D #2D2C2A
split-complementary
#2A2D2A #2C2A2D #2D2A2C
monochromatic
#0F100F #0F100F #2A2D2A #484D48 #656C65

Accessibility & contrast

On white

13.93
#2A2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D2A
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2A#FFFFFF#000000##FFFFFF
##2A2D2A1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d2a;
/* rgb */ color: rgb(42, 45, 42);
/* oklch */ color: oklch(29.3% 0.007 145.4);
Tailwind
colors: {
  custom: {
    50: '#636563',
    500: '#2a2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2a;
$custom-light: #636563;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2a",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29305,
    "c": 0.00683,
    "h": 145.4
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#2A2D2A
secondary
#5C575C
accent
#7BADAD
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #2A2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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