#2F2C2E#2F2C2E

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

Color values

HEX#2F2C2E
RGBrgb(47, 44, 46)
HSLhsl(320, 3%, 18%)
HSVhsv(320, 6%, 18%)
CMYKcmyk(0%, 6.4%, 2.1%, 81.6%)
CIE-LABlab(18.38, 1.81, -0.81)
CIE-LCHlch(18.38, 1.98, 336.02°)
OKLaboklab(29.71% 0.0052 -0.0021)
OKLCHoklch(29.71% 0.006 337.6)
XYZxyz(2.5660, 2.6030, 2.9515)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C2E #2C2F2D
analogous
#2E2C2F #2F2C2E #2F2C2C
triadic
#2F2C2E #2E2F2C #2C2E2F
tetradic
#2F2C2E #2F2E2C #2C2F2D #2C2C2F
square
#2F2C2E #2F2E2C #2C2F2D #2C2C2F
split-complementary
#2F2C2E #2C2F2C #2C2F2E
monochromatic
#100F0F #100F0F #2F2C2E #4F4A4D #6E676C

Accessibility & contrast

On white

13.81
#2F2C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2F2C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C2E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C2E#FFFFFF#000000##FFFFFF
##2F2C2E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#2F2C2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2c2e;
/* rgb */ color: rgb(47, 44, 46);
/* oklch */ color: oklch(29.7% 0.006 337.6);
Tailwind
colors: {
  custom: {
    50: '#676566',
    500: '#2f2c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c2e;
$custom-light: #676566;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c2e",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 46
  },
  "hsl": {
    "h": 320,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29705,
    "c": 0.00557,
    "h": 337.6
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#2F2C2E
secondary
#595E5B
accent
#AC8C7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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