#2F2F33#2F2F33

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

Color values

HEX#2F2F33
RGBrgb(47, 47, 51)
HSLhsl(240, 4%, 19%)
HSVhsv(240, 8%, 20%)
CMYKcmyk(7.8%, 7.8%, 0%, 80%)
CIE-LABlab(19.54, 0.97, -2.55)
CIE-LCHlch(19.54, 2.73, 290.81°)
OKLaboklab(30.68% 0.002 -0.0068)
OKLCHoklch(30.68% 0.007 285.9)
XYZxyz(2.7862, 2.8764, 3.5397)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F33 #33332F
analogous
#2F3133 #2F2F33 #312F33
triadic
#2F2F33 #332F2F #2F332F
tetradic
#2F2F33 #332F31 #33332F #2F3331
square
#2F2F33 #332F31 #33332F #2F3331
split-complementary
#2F2F33 #33312F #31332F
monochromatic
#0F0F10 #121213 #2F2F33 #4C4C53 #6A6A73

Accessibility & contrast

On white

13.33
#2F2F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F33
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F33#FFFFFF#000000##FFFFFF
##2F2F331.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2f33;
/* rgb */ color: rgb(47, 47, 51);
/* oklch */ color: oklch(30.7% 0.007 285.9);
Tailwind
colors: {
  custom: {
    50: '#67676a',
    500: '#2f2f33',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f33;
$custom-light: #67676a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f33",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 240,
    "s": 4.082,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.0071,
    "h": 285.9
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#2F2F33
secondary
#62625C
accent
#AD7BAD
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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