#2F2F35#2F2F35

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

Color values

HEX#2F2F35
RGBrgb(47, 47, 53)
HSLhsl(240, 6%, 20%)
HSVhsv(240, 11%, 21%)
CMYKcmyk(11.3%, 11.3%, 0%, 79.2%)
CIE-LABlab(19.62, 1.48, -3.82)
CIE-LCHlch(19.62, 4.10, 291.16°)
OKLaboklab(30.76% 0.0029 -0.0103)
OKLCHoklch(30.76% 0.011 285.8)
XYZxyz(2.8313, 2.8944, 3.7770)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F35 #35352F
analogous
#2F3235 #2F2F35 #322F35
triadic
#2F2F35 #352F2F #2F352F
tetradic
#2F2F35 #352F32 #35352F #2F3532
square
#2F2F35 #352F32 #35352F #2F3532
split-complementary
#2F2F35 #35322F #32352F
monochromatic
#0E0E10 #121215 #2F2F35 #4C4C55 #696976

Accessibility & contrast

On white

13.30
#2F2F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F35
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F35#FFFFFF#000000##FFFFFF
##2F2F351.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2f35;
/* rgb */ color: rgb(47, 47, 53);
/* oklch */ color: oklch(30.8% 0.011 285.8);
Tailwind
colors: {
  custom: {
    50: '#67676c',
    500: '#2f2f35',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f35;
$custom-light: #67676c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f35",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 240,
    "s": 6,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.01067,
    "h": 285.8
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#2F2F35
secondary
#64645C
accent
#AF79AF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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