#2A2C26#2A2C26

#2A2C26 is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.011 H 122.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#2A2C26
RGBrgb(42, 44, 38)
HSLhsl(80, 7%, 16%)
HSVhsv(80, 14%, 17%)
CMYKcmyk(4.5%, 0%, 13.6%, 82.7%)
CIE-LABlab(17.62, -2.28, 3.59)
CIE-LCHlch(17.62, 4.26, 122.45°)
OKLaboklab(28.9% -0.0059 0.0093)
OKLCHoklch(28.9% 0.011 122.1)
XYZxyz(2.2053, 2.4335, 2.1869)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C26 #28262C
analogous
#2C2B26 #2A2C26 #272C26
triadic
#2A2C26 #262A2C #2C262A
tetradic
#2A2C26 #262C2B #28262C #2C2627
square
#2A2C26 #262C2B #28262C #2C2627
split-complementary
#2A2C26 #26272C #2B262C
monochromatic
#10100E #10100E #2A2C26 #494D42 #696E5F

Accessibility & contrast

On white

14.12
#2A2C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C26
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C26#FFFFFF#000000##FFFFFF
##2A2C261.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B26
Deuteranopia (green-blind)
#2D2B26
Tritanopia (blue-blind)
#2B2B2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2c26;
/* rgb */ color: rgb(42, 44, 38);
/* oklch */ color: oklch(28.9% 0.011 122.1);
Tailwind
colors: {
  custom: {
    50: '#636560',
    500: '#2a2c26',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c26;
$custom-light: #636560;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c26",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 80,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.01103,
    "h": 122.1
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#2A2C26
secondary
#55525B
accent
#77B08A
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #2A2C26

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

Preview Lab → · Contrast checker → · Palette generator →

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