#2E312E#2E312E

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

Color values

HEX#2E312E
RGBrgb(46, 49, 46)
HSLhsl(120, 3%, 19%)
HSVhsv(120, 6%, 19%)
CMYKcmyk(6.1%, 0%, 6.1%, 80.8%)
CIE-LABlab(19.94, -2.02, 1.46)
CIE-LCHlch(19.94, 2.49, 144.15°)
OKLaboklab(30.91% -0.0055 0.0038)
OKLCHoklch(30.91% 0.007 145.4)
XYZxyz(2.7181, 2.9747, 3.0152)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E312E #312E31
analogous
#2F312E #2E312E #2E312F
triadic
#2E312E #2E2E31 #312E2E
tetradic
#2E312E #2E2F31 #312E31 #312F2E
square
#2E312E #2E2F31 #312E31 #312F2E
split-complementary
#2E312E #2F2E31 #312E2F
monochromatic
#0F100F #101110 #2E312E #4C514C #697069

Accessibility & contrast

On white

13.17
#2E312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E312E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E312E#FFFFFF#000000##FFFFFF
##2E312E1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e312e;
/* rgb */ color: rgb(46, 49, 46);
/* oklch */ color: oklch(30.9% 0.007 145.4);
Tailwind
colors: {
  custom: {
    50: '#666966',
    500: '#2e312e',
    950: '#000000',
  },
}
SCSS
$custom: #2e312e;
$custom-light: #666966;
$custom-dark: #000000;
JSON
{
  "hex": "#2e312e",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 120,
    "s": 3.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3091,
    "c": 0.00674,
    "h": 145.4
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#2E312E
secondary
#5F5B5F
accent
#7BACAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E312E

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

Preview Lab → · Contrast checker → · Palette generator →

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