#2A2A24#2A2A24

#2A2A24 is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.3% C 0.011 H 107.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2A2A24
RGBrgb(42, 42, 36)
HSLhsl(60, 8%, 15%)
HSVhsv(60, 14%, 16%)
CMYKcmyk(0%, 0%, 14.3%, 83.5%)
CIE-LABlab(16.87, -1.36, 3.93)
CIE-LCHlch(16.87, 4.16, 109.09°)
OKLaboklab(28.29% -0.0031 0.0102)
OKLCHoklch(28.29% 0.011 107.1)
XYZxyz(2.1012, 2.2756, 1.9973)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A24 #24242A
analogous
#2A2724 #2A2A24 #272A24
triadic
#2A2A24 #242A2A #2A242A
tetradic
#2A2A24 #242A27 #24242A #2A2427
square
#2A2A24 #242A27 #24242A #2A2427
split-complementary
#2A2A24 #24272A #27242A
monochromatic
#10100E #10100E #2A2A24 #4B4B40 #6C6C5C

Accessibility & contrast

On white

14.43
#2A2A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A24
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A24#FFFFFF#000000##FFFFFF
##2A2A241.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2924
Deuteranopia (green-blind)
#2B2A24
Tritanopia (blue-blind)
#2B2928
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2a24;
/* rgb */ color: rgb(42, 42, 36);
/* oklch */ color: oklch(28.3% 0.011 107.1);
Tailwind
colors: {
  custom: {
    50: '#63635e',
    500: '#2a2a24',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a24;
$custom-light: #63635e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a24",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28289,
    "c": 0.01067,
    "h": 107.1
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#2A2A24
secondary
#505059
accent
#77B177
background
#F5F5F5
surface
#EAEAE9
border
#C6C6C5
text
#050504
muted
#797979

Preview Lab

Preview with #2A2A24

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

Preview Lab → · Contrast checker → · Palette generator →

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