#2D302D#2D302D

#2D302D is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.5% C 0.007 H 145.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2D302D
RGBrgb(45, 48, 45)
HSLhsl(120, 3%, 18%)
HSVhsv(120, 6%, 19%)
CMYKcmyk(6.2%, 0%, 6.2%, 81.2%)
CIE-LABlab(19.48, -2.03, 1.47)
CIE-LCHlch(19.48, 2.50, 144.14°)
OKLaboklab(30.51% -0.0056 0.0038)
OKLCHoklch(30.51% 0.007 145.4)
XYZxyz(2.6127, 2.8612, 2.8967)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D302D #302D30
analogous
#2E302D #2D302D #2D302E
triadic
#2D302D #2D2D30 #302D2D
tetradic
#2D302D #2D2E30 #302D30 #302E2D
square
#2D302D #2D2E30 #302D30 #302E2D
split-complementary
#2D302D #2E2D30 #302D2E
monochromatic
#0F100F #0F100F #2D302D #4B504B #686F68

Accessibility & contrast

On white

13.36
#2D302D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D302D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D302D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D302D#FFFFFF#000000##FFFFFF
##2D302D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#2D302F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d302d;
/* rgb */ color: rgb(45, 48, 45);
/* oklch */ color: oklch(30.5% 0.007 145.4);
Tailwind
colors: {
  custom: {
    50: '#656865',
    500: '#2d302d',
    950: '#000000',
  },
}
SCSS
$custom: #2d302d;
$custom-light: #656865;
$custom-dark: #000000;
JSON
{
  "hex": "#2d302d",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.00677,
    "h": 145.4
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#2D302D
secondary
#5E5A5E
accent
#7BACAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050605
muted
#7A7A7A

Preview Lab

Preview with #2D302D

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

Preview Lab → · Contrast checker → · Palette generator →

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