#2E2F2F#2E2F2F

#2E2F2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.001 H 197.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2E2F2F
RGBrgb(46, 47, 47)
HSLhsl(180, 1%, 18%)
HSVhsv(180, 2%, 18%)
CMYKcmyk(2.1%, 0%, 0%, 81.6%)
CIE-LABlab(19.30, -0.44, -0.15)
CIE-LCHlch(19.30, 0.47, 199.31°)
OKLaboklab(30.42% -0.0014 -0.0004)
OKLCHoklch(30.42% 0.001 197.2)
XYZxyz(2.6562, 2.8191, 3.0930)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F2F #2F2E2E
analogous
#2E2F2E #2E2F2F #2E2E2F
triadic
#2E2F2F #2F2E2F #2F2F2E
tetradic
#2E2F2F #2E2E2F #2F2E2E #2E2F2E
square
#2E2F2F #2E2E2F #2F2E2E #2E2F2E
split-complementary
#2E2F2F #2F2E2E #2F2E2E
monochromatic
#0F0F0F #101010 #2E2F2F #4C4E4E #6B6D6D

Accessibility & contrast

On white

13.43
#2E2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F2F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F2F#FFFFFF#000000##FFFFFF
##2E2F2F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2f2f;
/* rgb */ color: rgb(46, 47, 47);
/* oklch */ color: oklch(30.4% 0.001 197.2);
Tailwind
colors: {
  custom: {
    50: '#666767',
    500: '#2e2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f2f;
$custom-light: #666767;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f2f",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 1.075,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30418,
    "c": 0.00142,
    "h": 197.2
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#2E2F2F
secondary
#5D5C5C
accent
#7D7DAA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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