#2D282C#2D282C

#2D282C is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.4% C 0.010 H 332.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#2D282C
RGBrgb(45, 40, 44)
HSLhsl(312, 6%, 17%)
HSVhsv(312, 11%, 18%)
CMYKcmyk(0%, 11.1%, 2.2%, 82.4%)
CIE-LABlab(16.78, 3.22, -1.78)
CIE-LCHlch(16.78, 3.68, 331.08°)
OKLaboklab(28.38% 0.009 -0.0047)
OKLCHoklch(28.38% 0.01 332.5)
XYZxyz(2.2955, 2.2573, 2.6972)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D282C #282D29
analogous
#2C282D #2D282C #2D282A
triadic
#2D282C #2C2D28 #282C2D
tetradic
#2D282C #2D2C28 #282D29 #282A2D
square
#2D282C #2D2C28 #282D29 #282A2D
split-complementary
#2D282C #2A2D28 #282D2C
monochromatic
#100E10 #100E10 #2D282C #4D454C #6E626B

Accessibility & contrast

On white

14.47
#2D282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D282C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D282C#FFFFFF#000000##FFFFFF
##2D282C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292C
Deuteranopia (green-blind)
#292A2C
Tritanopia (blue-blind)
#2E2829
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d282c;
/* rgb */ color: rgb(45, 40, 44);
/* oklch */ color: oklch(28.4% 0.010 332.5);
Tailwind
colors: {
  custom: {
    50: '#656165',
    500: '#2d282c',
    950: '#000000',
  },
}
SCSS
$custom: #2d282c;
$custom-light: #656165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d282c",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 312,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.01019,
    "h": 332.5
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#2D282C
secondary
#555C56
accent
#AF8479
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050505
muted
#7A797A

Preview Lab

Preview with #2D282C

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

Preview Lab → · Contrast checker → · Palette generator →

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