#2D2F2D#2D2F2D

#2D2F2D is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.005 H 145.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#2D2F2D
RGBrgb(45, 47, 45)
HSLhsl(120, 2%, 18%)
HSVhsv(120, 4%, 18%)
CMYKcmyk(4.3%, 0%, 4.3%, 81.6%)
CIE-LABlab(19.14, -1.36, 0.98)
CIE-LCHlch(19.14, 1.67, 144.25°)
OKLaboklab(30.24% -0.0037 0.0026)
OKLCHoklch(30.24% 0.005 145.5)
XYZxyz(2.5723, 2.7804, 2.8833)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F2D #2F2D2F
analogous
#2E2F2D #2D2F2D #2D2F2E
triadic
#2D2F2D #2D2D2F #2F2D2D
tetradic
#2D2F2D #2D2E2F #2F2D2F #2F2E2D
square
#2D2F2D #2D2E2F #2F2D2F #2F2E2D
split-complementary
#2D2F2D #2E2D2F #2F2D2E
monochromatic
#0F100F #0F100F #2D2F2D #4B4E4B #696E69

Accessibility & contrast

On white

13.50
#2D2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D2F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F2D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F2D#FFFFFF#000000##FFFFFF
##2D2F2D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2D
Deuteranopia (green-blind)
#2F2E2D
Tritanopia (blue-blind)
#2D2F2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2f2d;
/* rgb */ color: rgb(45, 47, 45);
/* oklch */ color: oklch(30.2% 0.005 145.5);
Tailwind
colors: {
  custom: {
    50: '#656765',
    500: '#2d2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f2d;
$custom-light: #656765;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f2d",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.00452,
    "h": 145.5
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#2D2F2D
secondary
#5D5B5D
accent
#7CABAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050605
muted
#7A7A7A

Preview Lab

Preview with #2D2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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