#2F2E2A#2F2E2A

#2F2E2A is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.007 H 95.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2E2A
RGBrgb(47, 46, 42)
HSLhsl(48, 6%, 17%)
HSVhsv(48, 11%, 18%)
CMYKcmyk(0%, 2.1%, 10.6%, 81.6%)
CIE-LABlab(18.91, -0.45, 2.74)
CIE-LCHlch(18.91, 2.77, 99.39°)
OKLaboklab(30.08% -0.0007 0.0072)
OKLCHoklch(30.08% 0.007 95.3)
XYZxyz(2.5672, 2.7255, 2.5809)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E2A #2A2B2F
analogous
#2F2C2A #2F2E2A #2E2F2A
triadic
#2F2E2A #2A2F2E #2E2A2F
tetradic
#2F2E2A #2A2F2C #2A2B2F #2F2A2E
square
#2F2E2A #2A2F2C #2A2B2F #2F2A2E
split-complementary
#2F2E2A #2A2E2F #2C2A2F
monochromatic
#10100E #10100E #2F2E2A #4F4E47 #706D64

Accessibility & contrast

On white

13.59
#2F2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2F2E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E2A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E2A#FFFFFF#000000##FFFFFF
##2F2E2A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2A
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#302D2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2e2a;
/* rgb */ color: rgb(47, 46, 42);
/* oklch */ color: oklch(30.1% 0.007 95.3);
Tailwind
colors: {
  custom: {
    50: '#676663',
    500: '#2f2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e2a;
$custom-light: #676663;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e2a",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 48,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30078,
    "c": 0.00719,
    "h": 95.3
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#2F2E2A
secondary
#57585E
accent
#84AF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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