#2F2D2F#2F2D2F

#2F2D2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.005 H 325.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#2F2D2F
RGBrgb(47, 45, 47)
HSLhsl(300, 2%, 18%)
HSVhsv(300, 4%, 18%)
CMYKcmyk(0%, 4.3%, 0%, 81.6%)
CIE-LABlab(18.74, 1.36, -0.97)
CIE-LCHlch(18.74, 1.67, 324.63°)
OKLaboklab(30% 0.0038 -0.0026)
OKLCHoklch(30% 0.005 325.7)
XYZxyz(2.6237, 2.6864, 3.0691)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D2F #2D2F2D
analogous
#2E2D2F #2F2D2F #2F2D2E
triadic
#2F2D2F #2F2F2D #2D2F2F
tetradic
#2F2D2F #2F2E2D #2D2F2D #2D2E2F
square
#2F2D2F #2F2E2D #2D2F2D #2D2E2F
split-complementary
#2F2D2F #2E2F2D #2D2F2E
monochromatic
#100F10 #100F10 #2F2D2F #4E4B4E #6E696E

Accessibility & contrast

On white

13.66
#2F2D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F2D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D2F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D2F#FFFFFF#000000##FFFFFF
##2F2D2F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2F
Deuteranopia (green-blind)
#2D2E2F
Tritanopia (blue-blind)
#2F2D2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2d2f;
/* rgb */ color: rgb(47, 45, 47);
/* oklch */ color: oklch(30.0% 0.005 325.7);
Tailwind
colors: {
  custom: {
    50: '#676567',
    500: '#2f2d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d2f;
$custom-light: #676567;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d2f",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30001,
    "c": 0.00454,
    "h": 325.7
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#2F2D2F
secondary
#5B5D5B
accent
#AB7C7C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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