#2E2F2B#2E2F2B

#2E2F2B is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.007 H 118.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2F2B
RGBrgb(46, 47, 43)
HSLhsl(75, 4%, 18%)
HSVhsv(75, 9%, 18%)
CMYKcmyk(2.1%, 0%, 8.5%, 81.6%)
CIE-LABlab(19.18, -1.37, 2.42)
CIE-LCHlch(19.18, 2.78, 119.48°)
OKLaboklab(30.27% -0.0034 0.0063)
OKLCHoklch(30.27% 0.007 118.3)
XYZxyz(2.5792, 2.7883, 2.6873)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F2B #2C2B2F
analogous
#2F2E2B #2E2F2B #2C2F2B
triadic
#2E2F2B #2B2E2F #2F2B2E
tetradic
#2E2F2B #2B2F2E #2C2B2F #2F2B2C
square
#2E2F2B #2B2F2E #2C2B2F #2F2B2C
split-complementary
#2E2F2B #2B2C2F #2E2B2F
monochromatic
#10100F #10100F #2E2F2B #4D4F48 #6D6F65

Accessibility & contrast

On white

13.48
#2E2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F2B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F2B#FFFFFF#000000##FFFFFF
##2E2F2B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2B
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#2E2F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2f2b;
/* rgb */ color: rgb(46, 47, 43);
/* oklch */ color: oklch(30.3% 0.007 118.3);
Tailwind
colors: {
  custom: {
    50: '#666764',
    500: '#2e2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f2b;
$custom-light: #666764;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f2b",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 75,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.00718,
    "h": 118.3
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#2E2F2B
secondary
#59585E
accent
#7AAE87
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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