#2E2E2F#2E2E2F

#2E2E2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.2% C 0.002 H 286.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#2E2E2F
RGBrgb(46, 46, 47)
HSLhsl(240, 1%, 18%)
HSVhsv(240, 2%, 18%)
CMYKcmyk(2.1%, 2.1%, 0%, 81.6%)
CIE-LABlab(18.97, 0.24, -0.64)
CIE-LCHlch(18.97, 0.68, 290.29°)
OKLaboklab(30.16% 0.0005 -0.0017)
OKLCHoklch(30.16% 0.002 286.3)
XYZxyz(2.6167, 2.7401, 3.0798)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E2F #2F2F2E
analogous
#2E2E2F #2E2E2F #2E2E2F
triadic
#2E2E2F #2F2E2E #2E2F2E
tetradic
#2E2E2F #2F2E2E #2F2F2E #2E2F2E
square
#2E2E2F #2F2E2E #2F2F2E #2E2F2E
split-complementary
#2E2E2F #2F2E2E #2E2F2E
monochromatic
#0F0F0F #101010 #2E2E2F #4C4C4E #6B6B6D

Accessibility & contrast

On white

13.57
#2E2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E2F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E2F#FFFFFF#000000##FFFFFF
##2E2E2F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2e2f;
/* rgb */ color: rgb(46, 46, 47);
/* oklch */ color: oklch(30.2% 0.002 286.3);
Tailwind
colors: {
  custom: {
    50: '#666667',
    500: '#2e2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e2f;
$custom-light: #666667;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e2f",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 1.075,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30156,
    "c": 0.00178,
    "h": 286.3
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#2E2E2F
secondary
#5D5D5C
accent
#AA7DAA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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