#2E2E31#2E2E31

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

Color values

HEX#2E2E31
RGBrgb(46, 46, 49)
HSLhsl(240, 3%, 19%)
HSVhsv(240, 6%, 19%)
CMYKcmyk(6.1%, 6.1%, 0%, 80.8%)
CIE-LABlab(19.04, 0.73, -1.92)
CIE-LCHlch(19.04, 2.05, 290.68°)
OKLaboklab(30.24% 0.0015 -0.0051)
OKLCHoklch(30.24% 0.005 286.1)
XYZxyz(2.6580, 2.7566, 3.2972)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E31 #31312E
analogous
#2E2F31 #2E2E31 #2F2E31
triadic
#2E2E31 #312E2E #2E312E
tetradic
#2E2E31 #312E2F #31312E #2E312F
square
#2E2E31 #312E2F #31312E #2E312F
split-complementary
#2E2E31 #312F2E #2F312E
monochromatic
#0F0F10 #101011 #2E2E31 #4C4C51 #696970

Accessibility & contrast

On white

13.54
#2E2E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E2E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E31
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E31#FFFFFF#000000##FFFFFF
##2E2E311.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E31
Deuteranopia (green-blind)
#2D2E31
Tritanopia (blue-blind)
#2D2E2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2e31;
/* rgb */ color: rgb(46, 46, 49);
/* oklch */ color: oklch(30.2% 0.005 286.1);
Tailwind
colors: {
  custom: {
    50: '#666669',
    500: '#2e2e31',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e31;
$custom-light: #666669;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e31",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 240,
    "s": 3.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30235,
    "c": 0.00534,
    "h": 286.1
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#2E2E31
secondary
#5F5F5B
accent
#AC7BAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E2E31

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

Preview Lab → · Contrast checker → · Palette generator →

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