#2A302C#2A302C

#2A302C is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.011 H 156.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2A302C
RGBrgb(42, 48, 44)
HSLhsl(140, 7%, 18%)
HSVhsv(140, 13%, 19%)
CMYKcmyk(12.5%, 0%, 8.3%, 81.2%)
CIE-LABlab(19.17, -3.59, 1.68)
CIE-LCHlch(19.17, 3.96, 154.92°)
OKLaboklab(30.19% -0.0101 0.0044)
OKLCHoklch(30.19% 0.011 156.5)
XYZxyz(2.4663, 2.7880, 2.7906)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A302C #302A2E
analogous
#2B302A #2A302C #2A302F
triadic
#2A302C #2C2A30 #302C2A
tetradic
#2A302C #2A2B30 #302A2E #302F2A
square
#2A302C #2A2B30 #302A2E #302F2A
split-complementary
#2A302C #2F2A30 #302A2B
monochromatic
#0E100F #0E100F #2A302C #47514A #637168

Accessibility & contrast

On white

13.48
#2A302C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A302C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A302C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A302C#FFFFFF#000000##FFFFFF
##2A302C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2C
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#29302F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a302c;
/* rgb */ color: rgb(42, 48, 44);
/* oklch */ color: oklch(30.2% 0.011 156.5);
Tailwind
colors: {
  custom: {
    50: '#636865',
    500: '#2a302c',
    950: '#000000',
  },
}
SCSS
$custom: #2a302c;
$custom-light: #636865;
$custom-dark: #000000;
JSON
{
  "hex": "#2a302c",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 44
  },
  "hsl": {
    "h": 140,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3019,
    "c": 0.01097,
    "h": 156.5
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#2A302C
secondary
#5F575C
accent
#789DB0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2A302C

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

Preview Lab → · Contrast checker → · Palette generator →

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