#2F2F2B#2F2F2B

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

Color values

HEX#2F2F2B
RGBrgb(47, 47, 43)
HSLhsl(60, 4%, 18%)
HSVhsv(60, 9%, 18%)
CMYKcmyk(0%, 0%, 8.5%, 81.6%)
CIE-LABlab(19.27, -0.91, 2.57)
CIE-LCHlch(19.27, 2.73, 109.50°)
OKLaboklab(30.38% -0.002 0.0067)
OKLCHoklch(30.38% 0.007 106.8)
XYZxyz(2.6248, 2.8118, 2.6895)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F2B #2B2B2F
analogous
#2F2D2B #2F2F2B #2D2F2B
triadic
#2F2F2B #2B2F2F #2F2B2F
tetradic
#2F2F2B #2B2F2D #2B2B2F #2F2B2D
square
#2F2F2B #2B2F2D #2B2B2F #2F2B2D
split-complementary
#2F2F2B #2B2D2F #2D2B2F
monochromatic
#10100F #10100F #2F2F2B #4F4F48 #6F6F65

Accessibility & contrast

On white

13.44
#2F2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F2B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F2B#FFFFFF#000000##FFFFFF
##2F2F2B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2B
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#302E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2f2b;
/* rgb */ color: rgb(47, 47, 43);
/* oklch */ color: oklch(30.4% 0.007 106.8);
Tailwind
colors: {
  custom: {
    50: '#676764',
    500: '#2f2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f2b;
$custom-light: #676764;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f2b",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.00703,
    "h": 106.8
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#2F2F2B
secondary
#58585E
accent
#7AAE7A
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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