#2D282D#2D282D

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

Color values

HEX#2D282D
RGBrgb(45, 40, 45)
HSLhsl(300, 6%, 17%)
HSVhsv(300, 11%, 18%)
CMYKcmyk(0%, 11.1%, 0%, 82.4%)
CIE-LABlab(16.82, 3.46, -2.43)
CIE-LCHlch(16.82, 4.23, 324.94°)
OKLaboklab(28.43% 0.0095 -0.0064)
OKLCHoklch(28.43% 0.012 325.9)
XYZxyz(2.3146, 2.2650, 2.7974)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D282D #282D28
analogous
#2B282D #2D282D #2D282B
triadic
#2D282D #2D2D28 #282D2D
tetradic
#2D282D #2D2B28 #282D28 #282B2D
square
#2D282D #2D2B28 #282D28 #282B2D
split-complementary
#2D282D #2B2D28 #282D2B
monochromatic
#100E10 #100E10 #2D282D #4D454D #6E626E

Accessibility & contrast

On white

14.45
#2D282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D282D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D282D#FFFFFF#000000##FFFFFF
##2D282D1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#2D282A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d282d;
/* rgb */ color: rgb(45, 40, 45);
/* oklch */ color: oklch(28.4% 0.011 325.9);
Tailwind
colors: {
  custom: {
    50: '#656165',
    500: '#2d282d',
    950: '#000000',
  },
}
SCSS
$custom: #2d282d;
$custom-light: #656165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d282d",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28425,
    "c": 0.0115,
    "h": 325.9
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#2D282D
secondary
#555C55
accent
#AF7979
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050505
muted
#7A797A

Preview Lab

Preview with #2D282D

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

Preview Lab → · Contrast checker → · Palette generator →

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