#2F2D2C#2F2D2C

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

Color values

HEX#2F2D2C
RGBrgb(47, 45, 44)
HSLhsl(20, 3%, 18%)
HSVhsv(20, 6%, 18%)
CMYKcmyk(0%, 4.3%, 6.4%, 81.6%)
CIE-LABlab(18.64, 0.67, 0.96)
CIE-LCHlch(18.64, 1.17, 55.32°)
OKLaboklab(29.89% 0.0023 0.0026)
OKLCHoklch(29.89% 0.003 48.7)
XYZxyz(2.5652, 2.6630, 2.7613)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D2C #2C2E2F
analogous
#2F2C2C #2F2D2C #2F2E2C
triadic
#2F2D2C #2C2F2D #2D2C2F
tetradic
#2F2D2C #2C2F2C #2C2E2F #2E2C2F
square
#2F2D2C #2C2F2C #2C2E2F #2E2C2F
split-complementary
#2F2D2C #2C2F2E #2C2C2F
monochromatic
#100F0F #100F0F #2F2D2C #4F4B4A #6E6A67

Accessibility & contrast

On white

13.70
#2F2D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D2C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D2C#FFFFFF#000000##FFFFFF
##2F2D2C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2C
Deuteranopia (green-blind)
#2E2E2C
Tritanopia (blue-blind)
#302D2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2d2c;
/* rgb */ color: rgb(47, 45, 44);
/* oklch */ color: oklch(29.9% 0.003 48.7);
Tailwind
colors: {
  custom: {
    50: '#676565',
    500: '#2f2d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d2c;
$custom-light: #676565;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d2c",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 44
  },
  "hsl": {
    "h": 20,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29888,
    "c": 0.00341,
    "h": 48.7
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#2F2D2C
secondary
#595C5E
accent
#9CAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #2F2D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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