#2C2D2A#2C2D2A

#2C2D2A is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.006 H 121.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2C2D2A
RGBrgb(44, 45, 42)
HSLhsl(80, 3%, 17%)
HSVhsv(80, 7%, 18%)
CMYKcmyk(2.2%, 0%, 6.7%, 82.4%)
CIE-LABlab(18.27, -1.15, 1.78)
CIE-LCHlch(18.27, 2.12, 122.77°)
OKLaboklab(29.51% -0.0029 0.0047)
OKLCHoklch(29.51% 0.006 121.8)
XYZxyz(2.3949, 2.5794, 2.5617)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D2A #2B2A2D
analogous
#2D2D2A #2C2D2A #2B2D2A
triadic
#2C2D2A #2A2C2D #2D2A2C
tetradic
#2C2D2A #2A2D2D #2B2A2D #2D2A2B
square
#2C2D2A #2A2D2D #2B2A2D #2D2A2B
split-complementary
#2C2D2A #2A2B2D #2D2A2D
monochromatic
#0F100F #0F100F #2C2D2A #4B4D48 #6A6C65

Accessibility & contrast

On white

13.85
#2C2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D2A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D2A#FFFFFF#000000##FFFFFF
##2C2D2A1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2A
Deuteranopia (green-blind)
#2D2D2A
Tritanopia (blue-blind)
#2C2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2d2a;
/* rgb */ color: rgb(44, 45, 42);
/* oklch */ color: oklch(29.5% 0.006 121.8);
Tailwind
colors: {
  custom: {
    50: '#656563',
    500: '#2c2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d2a;
$custom-light: #656563;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d2a",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.00551,
    "h": 121.8
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#2C2D2A
secondary
#59575C
accent
#7BAD8C
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050505
muted
#7A7A79

Preview Lab

Preview with #2C2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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