#2D2D2D#2D2D2D

#2D2D2D is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.000 H 0.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#2D2D2D
RGBrgb(45, 45, 45)
HSLhsl(0, 0%, 18%)
HSVhsv(0, 0%, 18%)
CMYKcmyk(0%, 0%, 0%, 82.4%)
CIE-LABlab(18.47, -0.00, 0.00)
CIE-LCHlch(18.47, 0.00, 180.00°)
OKLaboklab(29.72% 0 0)
OKLCHoklch(29.72% 0 0)
XYZxyz(2.4941, 2.6241, 2.8572)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D2D #2D2D2D
analogous
#2D2D2D #2D2D2D #2D2D2D
triadic
#2D2D2D #2D2D2D #2D2D2D
tetradic
#2D2D2D #2D2D2D #2D2D2D #2D2D2D
square
#2D2D2D #2D2D2D #2D2D2D #2D2D2D
split-complementary
#2D2D2D #2D2D2D #2D2D2D
monochromatic
#0F0F0F #0F0F0F #2D2D2D #4C4C4C #6A6A6A

Accessibility & contrast

On white

13.77
#2D2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D2D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D2D#FFFFFF#000000##FFFFFF
##2D2D2D1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2d2d;
/* rgb */ color: rgb(45, 45, 45);
/* oklch */ color: oklch(29.7% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#656565',
    500: '#2d2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d2d;
$custom-light: #656565;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d2d",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29716,
    "c": 0,
    "h": 0
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#2D2D2D
secondary
#5B5B5B
accent
#A9A97E
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050505
muted
#7A7A7A

Preview Lab

Preview with #2D2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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