#2E2F2C#2E2F2C

#2E2F2C is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.005 H 121.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2F2C
RGBrgb(46, 47, 44)
HSLhsl(80, 3%, 18%)
HSVhsv(80, 6%, 18%)
CMYKcmyk(2.1%, 0%, 6.4%, 81.6%)
CIE-LABlab(19.21, -1.14, 1.77)
CIE-LCHlch(19.21, 2.11, 122.76°)
OKLaboklab(30.31% -0.0029 0.0046)
OKLCHoklch(30.31% 0.005 121.8)
XYZxyz(2.5978, 2.7957, 2.7852)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F2C #2D2C2F
analogous
#2F2E2C #2E2F2C #2C2F2C
triadic
#2E2F2C #2C2E2F #2F2C2E
tetradic
#2E2F2C #2C2F2E #2D2C2F #2F2C2C
square
#2E2F2C #2C2F2E #2D2C2F #2F2C2C
split-complementary
#2E2F2C #2C2C2F #2E2C2F
monochromatic
#0F100F #0F100F #2E2F2C #4D4F4A #6C6E67

Accessibility & contrast

On white

13.47
#2E2F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E2F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F2C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F2C#FFFFFF#000000##FFFFFF
##2E2F2C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2C
Deuteranopia (green-blind)
#2F2F2C
Tritanopia (blue-blind)
#2E2F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2f2c;
/* rgb */ color: rgb(46, 47, 44);
/* oklch */ color: oklch(30.3% 0.005 121.8);
Tailwind
colors: {
  custom: {
    50: '#666765',
    500: '#2e2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f2c;
$custom-light: #666765;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f2c",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.00547,
    "h": 121.8
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#2E2F2C
secondary
#5B595E
accent
#7BAC8C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2E2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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