#2F2B2A#2F2B2A

#2F2B2A is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.006 H 34.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#2F2B2A
RGBrgb(47, 43, 42)
HSLhsl(12, 6%, 17%)
HSVhsv(12, 11%, 18%)
CMYKcmyk(0%, 8.5%, 10.6%, 81.6%)
CIE-LABlab(17.92, 1.59, 1.30)
CIE-LCHlch(17.92, 2.06, 39.32°)
OKLaboklab(29.3% 0.0051 0.0035)
OKLCHoklch(29.3% 0.006 34.3)
XYZxyz(2.4540, 2.4993, 2.5432)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B2A #2A2E2F
analogous
#2F2A2C #2F2B2A #2F2E2A
triadic
#2F2B2A #2A2F2B #2B2A2F
tetradic
#2F2B2A #2C2F2A #2A2E2F #2E2A2F
square
#2F2B2A #2C2F2A #2A2E2F #2E2A2F
split-complementary
#2F2B2A #2A2F2E #2A2C2F
monochromatic
#100F0E #100F0E #2F2B2A #4F4947 #706664

Accessibility & contrast

On white

14.00
#2F2B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B2A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B2A#FFFFFF#000000##FFFFFF
##2F2B2A1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2A
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#302B2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2b2a;
/* rgb */ color: rgb(47, 43, 42);
/* oklch */ color: oklch(29.3% 0.006 34.3);
Tailwind
colors: {
  custom: {
    50: '#676463',
    500: '#2f2b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b2a;
$custom-light: #676463;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b2a",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 12,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.00614,
    "h": 34.3
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#2F2B2A
secondary
#575D5E
accent
#A4AF79
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2F2B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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