#2E2F2A#2E2F2A

#2E2F2A is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.009 H 116.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2F2A
RGBrgb(46, 47, 42)
HSLhsl(72, 6%, 17%)
HSVhsv(72, 11%, 18%)
CMYKcmyk(2.1%, 0%, 10.6%, 81.6%)
CIE-LABlab(19.14, -1.59, 3.06)
CIE-LCHlch(19.14, 3.45, 117.39°)
OKLaboklab(30.24% -0.0039 0.008)
OKLCHoklch(30.24% 0.009 116.1)
XYZxyz(2.5611, 2.7810, 2.5919)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F2A #2B2A2F
analogous
#2F2E2A #2E2F2A #2C2F2A
triadic
#2E2F2A #2A2E2F #2F2A2E
tetradic
#2E2F2A #2A2F2E #2B2A2F #2F2A2C
square
#2E2F2A #2A2F2E #2B2A2F #2F2A2C
split-complementary
#2E2F2A #2A2C2F #2E2A2F
monochromatic
#10100E #10100E #2E2F2A #4E4F47 #6D7064

Accessibility & contrast

On white

13.49
#2E2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F2A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F2A#FFFFFF#000000##FFFFFF
##2E2F2A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2f2a;
/* rgb */ color: rgb(46, 47, 42);
/* oklch */ color: oklch(30.2% 0.009 116.1);
Tailwind
colors: {
  custom: {
    50: '#666763',
    500: '#2e2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f2a;
$custom-light: #666763;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f2a",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 72,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.0089,
    "h": 116.1
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#2E2F2A
secondary
#58575E
accent
#79AF84
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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