#2F2F2D#2F2F2D

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

Color values

HEX#2F2F2D
RGBrgb(47, 47, 45)
HSLhsl(60, 2%, 18%)
HSVhsv(60, 4%, 18%)
CMYKcmyk(0%, 0%, 4.3%, 81.6%)
CIE-LABlab(19.34, -0.46, 1.28)
CIE-LCHlch(19.34, 1.36, 109.81°)
OKLaboklab(30.45% -0.001 0.0034)
OKLCHoklch(30.45% 0.004 106.6)
XYZxyz(2.6624, 2.8268, 2.8875)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F2D #2D2D2F
analogous
#2F2E2D #2F2F2D #2E2F2D
triadic
#2F2F2D #2D2F2F #2F2D2F
tetradic
#2F2F2D #2D2F2E #2D2D2F #2F2D2E
square
#2F2F2D #2D2F2E #2D2D2F #2F2D2E
split-complementary
#2F2F2D #2D2E2F #2E2D2F
monochromatic
#10100F #10100F #2F2F2D #4E4E4B #6E6E69

Accessibility & contrast

On white

13.42
#2F2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F2F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F2D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F2D#FFFFFF#000000##FFFFFF
##2F2F2D1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2f2d;
/* rgb */ color: rgb(47, 47, 45);
/* oklch */ color: oklch(30.4% 0.004 106.6);
Tailwind
colors: {
  custom: {
    50: '#676765',
    500: '#2f2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f2d;
$custom-light: #676765;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f2d",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.00353,
    "h": 106.6
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#2F2F2D
secondary
#5B5B5D
accent
#7CAB7C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2F2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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