#2E2F33#2E2F33

#2E2F33 is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.007 H 274.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2E2F33
RGBrgb(46, 47, 51)
HSLhsl(228, 5%, 19%)
HSVhsv(228, 10%, 20%)
CMYKcmyk(9.8%, 7.8%, 0%, 80%)
CIE-LABlab(19.44, 0.54, -2.71)
CIE-LCHlch(19.44, 2.76, 281.34°)
OKLaboklab(30.58% 0.0006 -0.0073)
OKLCHoklch(30.58% 0.007 274.7)
XYZxyz(2.7406, 2.8529, 3.5376)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F33 #33322E
analogous
#2E3233 #2E2F33 #302E33
triadic
#2E2F33 #332E2F #2F332E
tetradic
#2E2F33 #332E32 #33322E #2E3330
square
#2E2F33 #332E32 #33322E #2E3330
split-complementary
#2E2F33 #33302E #32332E
monochromatic
#0F0F10 #111113 #2E2F33 #4B4D53 #686A73

Accessibility & contrast

On white

13.37
#2E2F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F33
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F33#FFFFFF#000000##FFFFFF
##2E2F331.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2f33;
/* rgb */ color: rgb(46, 47, 51);
/* oklch */ color: oklch(30.6% 0.007 274.7);
Tailwind
colors: {
  custom: {
    50: '#66676a',
    500: '#2e2f33',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f33;
$custom-light: #66676a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f33",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 228,
    "s": 5.155,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.00728,
    "h": 274.7
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#2E2F33
secondary
#62605B
accent
#A47AAE
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2E2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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