#2F2F2A#2F2F2A

#2F2F2A is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.009 H 106.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#2F2F2A
RGBrgb(47, 47, 42)
HSLhsl(60, 6%, 17%)
HSVhsv(60, 11%, 18%)
CMYKcmyk(0%, 0%, 10.6%, 81.6%)
CIE-LABlab(19.24, -1.13, 3.22)
CIE-LCHlch(19.24, 3.41, 109.31°)
OKLaboklab(30.34% -0.0026 0.0084)
OKLCHoklch(30.34% 0.009 106.9)
XYZxyz(2.6067, 2.8045, 2.5940)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F2A #2A2A2F
analogous
#2F2D2A #2F2F2A #2D2F2A
triadic
#2F2F2A #2A2F2F #2F2A2F
tetradic
#2F2F2A #2A2F2D #2A2A2F #2F2A2D
square
#2F2F2A #2A2F2D #2A2A2F #2F2A2D
split-complementary
#2F2F2A #2A2D2F #2D2A2F
monochromatic
#10100E #10100E #2F2F2A #4F4F47 #707064

Accessibility & contrast

On white

13.45
#2F2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F2A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F2A#FFFFFF#000000##FFFFFF
##2F2F2A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2A
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#302E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2f2a;
/* rgb */ color: rgb(47, 47, 42);
/* oklch */ color: oklch(30.3% 0.009 106.9);
Tailwind
colors: {
  custom: {
    50: '#676763',
    500: '#2f2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f2a;
$custom-light: #676763;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f2a",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.00877,
    "h": 106.9
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#2F2F2A
secondary
#57575E
accent
#79AF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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