#2C282B#2C282B

#2C282B is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.2% C 0.008 H 334.3°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2C282B
RGBrgb(44, 40, 43)
HSLhsl(315, 5%, 16%)
HSVhsv(315, 9%, 17%)
CMYKcmyk(0%, 9.1%, 2.3%, 82.7%)
CIE-LABlab(16.64, 2.53, -1.30)
CIE-LCHlch(16.64, 2.84, 332.82°)
OKLaboklab(28.23% 0.0071 -0.0034)
OKLCHoklch(28.23% 0.008 334.3)
XYZxyz(2.2335, 2.2275, 2.5973)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C282B #282C29
analogous
#2B282C #2C282B #2C2829
triadic
#2C282B #2B2C28 #282B2C
tetradic
#2C282B #2C2B28 #282C29 #28292C
square
#2C282B #2C2B28 #282C29 #28292C
split-complementary
#2C282B #292C28 #282C2B
monochromatic
#100F10 #100F10 #2C282B #4C454A #6C626A

Accessibility & contrast

On white

14.53
#2C282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C282B
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C282B#FFFFFF#000000##FFFFFF
##2C282B1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#29292B
Tritanopia (blue-blind)
#2C2829
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c282b;
/* rgb */ color: rgb(44, 40, 43);
/* oklch */ color: oklch(28.2% 0.008 334.3);
Tailwind
colors: {
  custom: {
    50: '#656164',
    500: '#2c282b',
    950: '#000000',
  },
}
SCSS
$custom: #2c282b;
$custom-light: #656164;
$custom-dark: #000000;
JSON
{
  "hex": "#2c282b",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 315,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28232,
    "c": 0.00791,
    "h": 334.3
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#2C282B
secondary
#555B56
accent
#AE877A
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050505
muted
#7A7979

Preview Lab

Preview with #2C282B

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

Preview Lab → · Contrast checker → · Palette generator →

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