#2E312F#2E312F

#2E312F is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 30.9% C 0.005 H 156.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2E312F
RGBrgb(46, 49, 47)
HSLhsl(140, 3%, 19%)
HSVhsv(140, 6%, 19%)
CMYKcmyk(6.1%, 0%, 4.1%, 80.8%)
CIE-LABlab(19.97, -1.79, 0.82)
CIE-LCHlch(19.97, 1.97, 155.31°)
OKLaboklab(30.95% -0.005 0.0022)
OKLCHoklch(30.95% 0.005 156.9)
XYZxyz(2.7380, 2.9827, 3.1202)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E312F #312E30
analogous
#2E312E #2E312F #2E3130
triadic
#2E312F #2F2E31 #312F2E
tetradic
#2E312F #2E2E31 #312E30 #31302E
square
#2E312F #2E2E31 #312E30 #31302E
split-complementary
#2E312F #302E31 #312E2E
monochromatic
#0F100F #101111 #2E312F #4C514D #69706C

Accessibility & contrast

On white

13.15
#2E312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E312F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E312F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E312F#FFFFFF#000000##FFFFFF
##2E312F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302F
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#2E3130
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e312f;
/* rgb */ color: rgb(46, 49, 47);
/* oklch */ color: oklch(30.9% 0.005 156.9);
Tailwind
colors: {
  custom: {
    50: '#666967',
    500: '#2e312f',
    950: '#000000',
  },
}
SCSS
$custom: #2e312f;
$custom-light: #666967;
$custom-dark: #000000;
JSON
{
  "hex": "#2e312f",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 140,
    "s": 3.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.00548,
    "h": 156.9
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#2E312F
secondary
#5F5B5E
accent
#7B9CAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E312F

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

Preview Lab → · Contrast checker → · Palette generator →

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