#2A302D#2A302D

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

Color values

HEX#2A302D
RGBrgb(42, 48, 45)
HSLhsl(150, 7%, 18%)
HSVhsv(150, 13%, 19%)
CMYKcmyk(12.5%, 0%, 6.2%, 81.2%)
CIE-LABlab(19.21, -3.34, 1.04)
CIE-LCHlch(19.21, 3.50, 162.80°)
OKLaboklab(30.23% -0.0095 0.0027)
OKLCHoklch(30.23% 0.01 164.3)
XYZxyz(2.4853, 2.7956, 2.8908)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A302D #302A2D
analogous
#2A302A #2A302D #2A3030
triadic
#2A302D #2D2A30 #302D2A
tetradic
#2A302D #2A2A30 #302A2D #30302A
square
#2A302D #2A2A30 #302A2D #30302A
split-complementary
#2A302D #302A30 #302A2A
monochromatic
#0E100F #0E100F #2A302D #47514C #63716A

Accessibility & contrast

On white

13.47
#2A302D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A302D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A302D#FFFFFF#000000##FFFFFF
##2A302D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a302d;
/* rgb */ color: rgb(42, 48, 45);
/* oklch */ color: oklch(30.2% 0.010 164.3);
Tailwind
colors: {
  custom: {
    50: '#636865',
    500: '#2a302d',
    950: '#000000',
  },
}
SCSS
$custom: #2a302d;
$custom-light: #636865;
$custom-dark: #000000;
JSON
{
  "hex": "#2a302d",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 150,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.00991,
    "h": 164.3
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#2A302D
secondary
#5F575B
accent
#7894B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2A302D

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

Preview Lab → · Contrast checker → · Palette generator →

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