#2F2D2D#2F2D2D

#2F2D2D is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.003 H 17.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2F2D2D
RGBrgb(47, 45, 45)
HSLhsl(0, 2%, 18%)
HSVhsv(0, 4%, 18%)
CMYKcmyk(0%, 4.3%, 4.3%, 81.6%)
CIE-LABlab(18.67, 0.90, 0.32)
CIE-LCHlch(18.67, 0.95, 19.63°)
OKLaboklab(29.93% 0.0028 0.0009)
OKLCHoklch(29.93% 0.003 17.3)
XYZxyz(2.5843, 2.6706, 2.8614)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D2D #2D2F2F
analogous
#2F2D2E #2F2D2D #2F2E2D
triadic
#2F2D2D #2D2F2D #2D2D2F
tetradic
#2F2D2D #2E2F2D #2D2F2F #2E2D2F
square
#2F2D2D #2E2F2D #2D2F2F #2E2D2F
split-complementary
#2F2D2D #2D2F2E #2D2E2F
monochromatic
#100F0F #100F0F #2F2D2D #4E4B4B #6E6969

Accessibility & contrast

On white

13.69
#2F2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D2D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D2D#FFFFFF#000000##FFFFFF
##2F2D2D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d2d;
/* rgb */ color: rgb(47, 45, 45);
/* oklch */ color: oklch(29.9% 0.003 17.3);
Tailwind
colors: {
  custom: {
    50: '#676565',
    500: '#2f2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d2d;
$custom-light: #676565;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d2d",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29925,
    "c": 0.00289,
    "h": 17.3
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#2F2D2D
secondary
#5B5D5D
accent
#ABAB7C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #2F2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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