#2D2D2F#2D2D2F

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

Color values

HEX#2D2D2F
RGBrgb(45, 45, 47)
HSLhsl(240, 2%, 18%)
HSVhsv(240, 4%, 18%)
CMYKcmyk(4.3%, 4.3%, 0%, 81.6%)
CIE-LABlab(18.54, 0.48, -1.29)
CIE-LCHlch(18.54, 1.37, 290.54°)
OKLaboklab(29.79% 0.001 -0.0034)
OKLCHoklch(29.79% 0.004 286.1)
XYZxyz(2.5336, 2.6399, 3.0648)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D2F #2F2F2D
analogous
#2D2E2F #2D2D2F #2E2D2F
triadic
#2D2D2F #2F2D2D #2D2F2D
tetradic
#2D2D2F #2F2D2E #2F2F2D #2D2F2E
square
#2D2D2F #2F2D2E #2F2F2D #2D2F2E
split-complementary
#2D2D2F #2F2E2D #2E2F2D
monochromatic
#0F0F10 #0F0F10 #2D2D2F #4B4B4E #69696E

Accessibility & contrast

On white

13.74
#2D2D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D2F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D2F#FFFFFF#000000##FFFFFF
##2D2D2F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2d2f;
/* rgb */ color: rgb(45, 45, 47);
/* oklch */ color: oklch(29.8% 0.004 286.1);
Tailwind
colors: {
  custom: {
    50: '#656567',
    500: '#2d2d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d2f;
$custom-light: #656567;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d2f",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29793,
    "c": 0.00357,
    "h": 286.1
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#2D2D2F
secondary
#5D5D5B
accent
#AB7CAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050506
muted
#7A7A7A

Preview Lab

Preview with #2D2D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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