#2F2E2C#2F2E2C

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

Color values

HEX#2F2E2C
RGBrgb(47, 46, 44)
HSLhsl(40, 3%, 18%)
HSVhsv(40, 6%, 18%)
CMYKcmyk(0%, 2.1%, 6.4%, 81.6%)
CIE-LABlab(18.97, -0.01, 1.45)
CIE-LCHlch(18.97, 1.45, 90.52°)
OKLaboklab(30.15% 0.0004 0.0038)
OKLCHoklch(30.15% 0.004 84.6)
XYZxyz(2.6038, 2.7402, 2.7741)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E2C #2C2D2F
analogous
#2F2C2C #2F2E2C #2E2F2C
triadic
#2F2E2C #2C2F2E #2E2C2F
tetradic
#2F2E2C #2C2F2C #2C2D2F #2F2C2E
square
#2F2E2C #2C2F2C #2C2D2F #2F2C2E
split-complementary
#2F2E2C #2C2E2F #2C2C2F
monochromatic
#100F0F #100F0F #2F2E2C #4F4D4A #6E6C67

Accessibility & contrast

On white

13.57
#2F2E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E2C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E2C#FFFFFF#000000##FFFFFF
##2F2E2C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e2c;
/* rgb */ color: rgb(47, 46, 44);
/* oklch */ color: oklch(30.1% 0.004 84.6);
Tailwind
colors: {
  custom: {
    50: '#676665',
    500: '#2f2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e2c;
$custom-light: #676665;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e2c",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 40,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.00383,
    "h": 84.6
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#2F2E2C
secondary
#595B5E
accent
#8CAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2F2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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