#2F2F34#2F2F34

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

Color values

HEX#2F2F34
RGBrgb(47, 47, 52)
HSLhsl(240, 5%, 19%)
HSVhsv(240, 10%, 20%)
CMYKcmyk(9.6%, 9.6%, 0%, 79.6%)
CIE-LABlab(19.58, 1.22, -3.19)
CIE-LCHlch(19.58, 3.41, 290.99°)
OKLaboklab(30.72% 0.0024 -0.0085)
OKLCHoklch(30.72% 0.009 285.9)
XYZxyz(2.8085, 2.8853, 3.6571)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F34 #34342F
analogous
#2F3234 #2F2F34 #322F34
triadic
#2F2F34 #342F2F #2F342F
tetradic
#2F2F34 #342F32 #34342F #2F3432
square
#2F2F34 #342F32 #34342F #2F3432
split-complementary
#2F2F34 #34322F #32342F
monochromatic
#0F0F10 #121214 #2F2F34 #4C4C54 #696974

Accessibility & contrast

On white

13.32
#2F2F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F34
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F34#FFFFFF#000000##FFFFFF
##2F2F341.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3034
Deuteranopia (green-blind)
#2E2F34
Tritanopia (blue-blind)
#2E3031
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2f34;
/* rgb */ color: rgb(47, 47, 52);
/* oklch */ color: oklch(30.7% 0.009 285.9);
Tailwind
colors: {
  custom: {
    50: '#67676b',
    500: '#2f2f34',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f34;
$custom-light: #67676b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f34",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 240,
    "s": 5.051,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30716,
    "c": 0.00889,
    "h": 285.9
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#2F2F34
secondary
#63635C
accent
#AE7AAE
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2F34

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

Preview Lab → · Contrast checker → · Palette generator →

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