#2F302F#2F302F

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

Color values

HEX#2F302F
RGBrgb(47, 48, 47)
HSLhsl(120, 1%, 19%)
HSVhsv(120, 2%, 19%)
CMYKcmyk(2.1%, 0%, 2.1%, 81.2%)
CIE-LABlab(19.73, -0.68, 0.49)
CIE-LCHlch(19.73, 0.83, 144.39°)
OKLaboklab(30.78% -0.0019 0.0013)
OKLCHoklch(30.78% 0.002 145.7)
XYZxyz(2.7422, 2.9235, 3.1086)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F302F #302F30
analogous
#2F302F #2F302F #2F302F
triadic
#2F302F #2F2F30 #302F2F
tetradic
#2F302F #2F2F30 #302F30 #302F2F
square
#2F302F #2F2F30 #302F30 #302F2F
split-complementary
#2F302F #2F2F30 #302F2F
monochromatic
#0F0F0F #111111 #2F302F #4D4F4D #6C6E6C

Accessibility & contrast

On white

13.25
#2F302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F302F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F302F#FFFFFF#000000##FFFFFF
##2F302F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#2F3030
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f302f;
/* rgb */ color: rgb(47, 48, 47);
/* oklch */ color: oklch(30.8% 0.002 145.7);
Tailwind
colors: {
  custom: {
    50: '#676867',
    500: '#2f302f',
    950: '#000000',
  },
}
SCSS
$custom: #2f302f;
$custom-light: #676867;
$custom-dark: #000000;
JSON
{
  "hex": "#2f302f",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 1.053,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30781,
    "c": 0.00225,
    "h": 145.7
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#2F302F
secondary
#5E5D5E
accent
#7DAAAA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F302F

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

Preview Lab → · Contrast checker → · Palette generator →

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