#2D2D30#2D2D30

#2D2D30 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.8% C 0.005 H 286.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2D30
RGBrgb(45, 45, 48)
HSLhsl(240, 3%, 18%)
HSVhsv(240, 6%, 19%)
CMYKcmyk(6.2%, 6.2%, 0%, 81.2%)
CIE-LABlab(18.58, 0.73, -1.93)
CIE-LCHlch(18.58, 2.06, 290.68°)
OKLaboklab(29.83% 0.0015 -0.0051)
OKLCHoklch(29.83% 0.005 286)
XYZxyz(2.5540, 2.6481, 3.1723)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D30 #30302D
analogous
#2D2E30 #2D2D30 #2E2D30
triadic
#2D2D30 #302D2D #2D302D
tetradic
#2D2D30 #302D2E #30302D #2D302E
square
#2D2D30 #302D2E #30302D #2D302E
split-complementary
#2D2D30 #302E2D #2E302D
monochromatic
#0F0F10 #0F0F10 #2D2D30 #4B4B50 #68686F

Accessibility & contrast

On white

13.73
#2D2D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D30
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D30#FFFFFF#000000##FFFFFF
##2D2D301.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2d30;
/* rgb */ color: rgb(45, 45, 48);
/* oklch */ color: oklch(29.8% 0.005 286.0);
Tailwind
colors: {
  custom: {
    50: '#656568',
    500: '#2d2d30',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d30;
$custom-light: #656568;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d30",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29833,
    "c": 0.00536,
    "h": 286
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#2D2D30
secondary
#5E5E5A
accent
#AC7BAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050506
muted
#7A7A7A

Preview Lab

Preview with #2D2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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