#2F2C2F#2F2C2F

#2F2C2F is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.007 H 325.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2F2C2F
RGBrgb(47, 44, 47)
HSLhsl(300, 3%, 18%)
HSVhsv(300, 6%, 18%)
CMYKcmyk(0%, 6.4%, 0%, 81.6%)
CIE-LABlab(18.41, 2.05, -1.45)
CIE-LCHlch(18.41, 2.51, 324.73°)
OKLaboklab(29.74% 0.0056 -0.0038)
OKLCHoklch(29.74% 0.007 325.8)
XYZxyz(2.5860, 2.6110, 3.0565)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C2F #2C2F2C
analogous
#2D2C2F #2F2C2F #2F2C2D
triadic
#2F2C2F #2F2F2C #2C2F2F
tetradic
#2F2C2F #2F2D2C #2C2F2C #2C2D2F
square
#2F2C2F #2F2D2C #2C2F2C #2C2D2F
split-complementary
#2F2C2F #2D2F2C #2C2F2D
monochromatic
#100F10 #100F10 #2F2C2F #4F4A4F #6E676E

Accessibility & contrast

On white

13.80
#2F2C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2F2C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C2F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C2F#FFFFFF#000000##FFFFFF
##2F2C2F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2c2f;
/* rgb */ color: rgb(47, 44, 47);
/* oklch */ color: oklch(29.7% 0.007 325.8);
Tailwind
colors: {
  custom: {
    50: '#676567',
    500: '#2f2c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c2f;
$custom-light: #676567;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c2f",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.00682,
    "h": 325.8
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#2F2C2F
secondary
#595E59
accent
#AC7B7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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