#2E302A#2E302A

#2E302A is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.5% C 0.011 H 122.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2E302A
RGBrgb(46, 48, 42)
HSLhsl(80, 7%, 18%)
HSVhsv(80, 13%, 19%)
CMYKcmyk(4.2%, 0%, 12.5%, 81.2%)
CIE-LABlab(19.48, -2.26, 3.54)
CIE-LCHlch(19.48, 4.20, 122.49°)
OKLaboklab(30.51% -0.0058 0.0092)
OKLCHoklch(30.51% 0.011 122.1)
XYZxyz(2.6015, 2.8619, 2.6054)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E302A #2C2A30
analogous
#302F2A #2E302A #2B302A
triadic
#2E302A #2A2E30 #302A2E
tetradic
#2E302A #2A302F #2C2A30 #302A2B
square
#2E302A #2A302F #2C2A30 #302A2B
split-complementary
#2E302A #2A2B30 #2F2A30
monochromatic
#10100E #10100E #2E302A #4D5147 #6D7163

Accessibility & contrast

On white

13.36
#2E302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E302A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E302A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E302A#FFFFFF#000000##FFFFFF
##2E302A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F2A
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#2F2F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e302a;
/* rgb */ color: rgb(46, 48, 42);
/* oklch */ color: oklch(30.5% 0.011 122.1);
Tailwind
colors: {
  custom: {
    50: '#666863',
    500: '#2e302a',
    950: '#000000',
  },
}
SCSS
$custom: #2e302a;
$custom-light: #666863;
$custom-dark: #000000;
JSON
{
  "hex": "#2e302a",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.01088,
    "h": 122.1
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#2E302A
secondary
#59575F
accent
#78B08B
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E302A

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

Preview Lab → · Contrast checker → · Palette generator →

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