#2F2D2A#2F2D2A

#2F2D2A is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.8% C 0.006 H 78.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2F2D2A
RGBrgb(47, 45, 42)
HSLhsl(36, 6%, 17%)
HSVhsv(36, 11%, 18%)
CMYKcmyk(0%, 4.3%, 10.6%, 81.6%)
CIE-LABlab(18.58, 0.22, 2.26)
CIE-LCHlch(18.58, 2.27, 84.33°)
OKLaboklab(29.82% 0.0012 0.0059)
OKLCHoklch(29.82% 0.006 78.2)
XYZxyz(2.5285, 2.6483, 2.5680)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D2A #2A2C2F
analogous
#2F2B2A #2F2D2A #2F2F2A
triadic
#2F2D2A #2A2F2D #2D2A2F
tetradic
#2F2D2A #2A2F2B #2A2C2F #2F2A2F
square
#2F2D2A #2A2F2B #2A2C2F #2F2A2F
split-complementary
#2F2D2A #2A2F2F #2B2A2F
monochromatic
#100F0E #100F0E #2F2D2A #4F4C47 #706B64

Accessibility & contrast

On white

13.73
#2F2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D2A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D2A#FFFFFF#000000##FFFFFF
##2F2D2A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d2a;
/* rgb */ color: rgb(47, 45, 42);
/* oklch */ color: oklch(29.8% 0.006 78.2);
Tailwind
colors: {
  custom: {
    50: '#676563',
    500: '#2f2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d2a;
$custom-light: #676563;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d2a",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 36,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29817,
    "c": 0.00606,
    "h": 78.2
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#2F2D2A
secondary
#575A5E
accent
#8FAF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060505
muted
#7A7A79

Preview Lab

Preview with #2F2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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