#2E2F35#2E2F35

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

Color values

HEX#2E2F35
RGBrgb(46, 47, 53)
HSLhsl(231, 7%, 19%)
HSVhsv(231, 13%, 21%)
CMYKcmyk(13.2%, 11.3%, 0%, 79.2%)
CIE-LABlab(19.52, 1.06, -3.97)
CIE-LCHlch(19.52, 4.11, 284.92°)
OKLaboklab(30.66% 0.0016 -0.0107)
OKLCHoklch(30.66% 0.011 278.2)
XYZxyz(2.7857, 2.8709, 3.7748)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F35 #35342E
analogous
#2E3335 #2E2F35 #312E35
triadic
#2E2F35 #352E2F #2F352E
tetradic
#2E2F35 #352E33 #35342E #2E3531
square
#2E2F35 #352E33 #35342E #2E3531
split-complementary
#2E2F35 #35312E #33352E
monochromatic
#0E0F10 #121214 #2E2F35 #4A4C56 #676977

Accessibility & contrast

On white

13.34
#2E2F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F35
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F35#FFFFFF#000000##FFFFFF
##2E2F351.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2f35;
/* rgb */ color: rgb(46, 47, 53);
/* oklch */ color: oklch(30.7% 0.011 278.2);
Tailwind
colors: {
  custom: {
    50: '#66676c',
    500: '#2e2f35',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f35;
$custom-light: #66676c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f35",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 231.429,
    "s": 7.071,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30658,
    "c": 0.01081,
    "h": 278.2
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#2E2F35
secondary
#64635B
accent
#A878B0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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