#2F2C2D#2F2C2D

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

Color values

HEX#2F2C2D
RGBrgb(47, 44, 45)
HSLhsl(340, 3%, 18%)
HSVhsv(340, 6%, 18%)
CMYKcmyk(0%, 6.4%, 4.3%, 81.6%)
CIE-LABlab(18.34, 1.58, -0.16)
CIE-LCHlch(18.34, 1.59, 354.18°)
OKLaboklab(29.67% 0.0047 -0.0004)
OKLCHoklch(29.67% 0.005 355.1)
XYZxyz(2.5466, 2.5952, 2.8489)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C2D #2C2F2E
analogous
#2F2C2E #2F2C2D #2F2C2C
triadic
#2F2C2D #2D2F2C #2C2D2F
tetradic
#2F2C2D #2E2F2C #2C2F2E #2C2C2F
square
#2F2C2D #2E2F2C #2C2F2E #2C2C2F
split-complementary
#2F2C2D #2C2F2C #2C2E2F
monochromatic
#100F0F #100F0F #2F2C2D #4F4A4B #6E676A

Accessibility & contrast

On white

13.82
#2F2C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C2D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C2D#FFFFFF#000000##FFFFFF
##2F2C2D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#2D2D2D
Tritanopia (blue-blind)
#302C2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2c2d;
/* rgb */ color: rgb(47, 44, 45);
/* oklch */ color: oklch(29.7% 0.005 355.1);
Tailwind
colors: {
  custom: {
    50: '#676565',
    500: '#2f2c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c2d;
$custom-light: #676565;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c2d",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 340,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.00468,
    "h": 355.1
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#2F2C2D
secondary
#595E5C
accent
#AC9C7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #2F2C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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