#2F2E33#2F2E33

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

Color values

HEX#2F2E33
RGBrgb(47, 46, 51)
HSLhsl(252, 5%, 19%)
HSVhsv(252, 10%, 20%)
CMYKcmyk(7.8%, 9.8%, 0%, 80%)
CIE-LABlab(19.21, 1.66, -3.04)
CIE-LCHlch(19.21, 3.46, 298.57°)
OKLaboklab(30.42% 0.0038 -0.0081)
OKLCHoklch(30.42% 0.009 295)
XYZxyz(2.7467, 2.7973, 3.5266)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E33 #32332E
analogous
#2E3033 #2F2E33 #322E33
triadic
#2F2E33 #332F2E #2E332F
tetradic
#2F2E33 #332E30 #32332E #2E3332
square
#2F2E33 #332E30 #32332E #2E3332
split-complementary
#2F2E33 #33322E #30332E
monochromatic
#0F0F10 #111113 #2F2E33 #4D4B53 #6A6873

Accessibility & contrast

On white

13.47
#2F2E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E33
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E33#FFFFFF#000000##FFFFFF
##2F2E331.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e33;
/* rgb */ color: rgb(47, 46, 51);
/* oklch */ color: oklch(30.4% 0.009 295.0);
Tailwind
colors: {
  custom: {
    50: '#67666a',
    500: '#2f2e33',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e33;
$custom-light: #67666a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e33",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 51
  },
  "hsl": {
    "h": 252,
    "s": 5.155,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30418,
    "c": 0.00898,
    "h": 295
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#2F2E33
secondary
#60625B
accent
#AE7AA4
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2E33

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

Preview Lab → · Contrast checker → · Palette generator →

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