#2F302D#2F302D

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

Color values

HEX#2F302D
RGBrgb(47, 48, 45)
HSLhsl(80, 3%, 18%)
HSVhsv(80, 6%, 19%)
CMYKcmyk(2.1%, 0%, 6.2%, 81.2%)
CIE-LABlab(19.67, -1.14, 1.77)
CIE-LCHlch(19.67, 2.10, 122.78°)
OKLaboklab(30.71% -0.0029 0.0046)
OKLCHoklch(30.71% 0.005 121.7)
XYZxyz(2.7028, 2.9077, 2.9010)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F302D #2E2D30
analogous
#302F2D #2F302D #2D302D
triadic
#2F302D #2D2F30 #302D2F
tetradic
#2F302D #2D302F #2E2D30 #302D2D
square
#2F302D #2D302F #2E2D30 #302D2D
split-complementary
#2F302D #2D2D30 #2F2D30
monochromatic
#0F100F #10100F #2F302D #4E504B #6D6F68

Accessibility & contrast

On white

13.28
#2F302D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F302D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F302D#FFFFFF#000000##FFFFFF
##2F302D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f302d;
/* rgb */ color: rgb(47, 48, 45);
/* oklch */ color: oklch(30.7% 0.005 121.7);
Tailwind
colors: {
  custom: {
    50: '#676865',
    500: '#2f302d',
    950: '#000000',
  },
}
SCSS
$custom: #2f302d;
$custom-light: #676865;
$custom-dark: #000000;
JSON
{
  "hex": "#2f302d",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30709,
    "c": 0.00546,
    "h": 121.7
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#2F302D
secondary
#5C5A5E
accent
#7BAC8C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2F302D

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

Preview Lab → · Contrast checker → · Palette generator →

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