#2E302F#2E302F

#2E302F is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.7% C 0.003 H 164.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2E302F
RGBrgb(46, 48, 47)
HSLhsl(150, 2%, 18%)
HSVhsv(150, 4%, 19%)
CMYKcmyk(4.2%, 0%, 2.1%, 81.2%)
CIE-LABlab(19.64, -1.12, 0.33)
CIE-LCHlch(19.64, 1.17, 163.38°)
OKLaboklab(30.68% -0.0032 0.0009)
OKLCHoklch(30.68% 0.003 164.8)
XYZxyz(2.6967, 2.9000, 3.1065)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E302F #302E2F
analogous
#2E302E #2E302F #2E3030
triadic
#2E302F #2F2E30 #302F2E
tetradic
#2E302F #2E2E30 #302E2F #30302E
square
#2E302F #2E2E30 #302E2F #30302E
split-complementary
#2E302F #302E30 #302E2E
monochromatic
#0F100F #101110 #2E302F #4C4F4E #6A6F6C

Accessibility & contrast

On white

13.29
#2E302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E302F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E302F#FFFFFF#000000##FFFFFF
##2E302F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#302F2F
Tritanopia (blue-blind)
#2E3030
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e302f;
/* rgb */ color: rgb(46, 48, 47);
/* oklch */ color: oklch(30.7% 0.003 164.8);
Tailwind
colors: {
  custom: {
    50: '#666867',
    500: '#2e302f',
    950: '#000000',
  },
}
SCSS
$custom: #2e302f;
$custom-light: #666867;
$custom-dark: #000000;
JSON
{
  "hex": "#2e302f",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 150,
    "s": 2.128,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30681,
    "c": 0.00332,
    "h": 164.8
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#2E302F
secondary
#5E5C5D
accent
#7C94AB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E302F

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

Preview Lab → · Contrast checker → · Palette generator →

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