#2A3030#2A3030

#2A3030 is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.008 H 196.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2A3030
RGBrgb(42, 48, 48)
HSLhsl(180, 7%, 18%)
HSVhsv(180, 13%, 19%)
CMYKcmyk(12.5%, 0%, 0%, 81.2%)
CIE-LABlab(19.31, -2.59, -0.89)
CIE-LCHlch(19.31, 2.74, 198.86°)
OKLaboklab(30.34% -0.008 -0.0024)
OKLCHoklch(30.34% 0.008 196.7)
XYZxyz(2.5452, 2.8195, 3.2059)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3030 #302A2A
analogous
#2A302D #2A3030 #2A2D30
triadic
#2A3030 #302A30 #30302A
tetradic
#2A3030 #2D2A30 #302A2A #2D302A
square
#2A3030 #2D2A30 #302A2A #2D302A
split-complementary
#2A3030 #302A2D #302D2A
monochromatic
#0E1010 #0E1010 #2A3030 #475151 #637171

Accessibility & contrast

On white

13.43
#2A3030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3030
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3030#FFFFFF#000000##FFFFFF
##2A30301.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F30
Deuteranopia (green-blind)
#2E2E30
Tritanopia (blue-blind)
#283030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3030;
/* rgb */ color: rgb(42, 48, 48);
/* oklch */ color: oklch(30.3% 0.008 196.7);
Tailwind
colors: {
  custom: {
    50: '#636868',
    500: '#2a3030',
    950: '#000000',
  },
}
SCSS
$custom: #2a3030;
$custom-light: #636868;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3030",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 48
  },
  "hsl": {
    "h": 180,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.00835,
    "h": 196.7
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#2A3030
secondary
#5F5757
accent
#7878B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A3030

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

Preview Lab → · Contrast checker → · Palette generator →

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