#302F2F#302F2F

#302F2F is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.001 H 17.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#302F2F
RGBrgb(48, 47, 47)
HSLhsl(0, 1%, 19%)
HSVhsv(0, 2%, 19%)
CMYKcmyk(0%, 2.1%, 2.1%, 81.2%)
CIE-LABlab(19.50, 0.44, 0.16)
CIE-LCHlch(19.50, 0.47, 19.54°)
OKLaboklab(30.62% 0.0014 0.0004)
OKLCHoklch(30.62% 0.001 17)
XYZxyz(2.7485, 2.8667, 3.0973)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F2F #2F3030
analogous
#302F2F #302F2F #302F2F
triadic
#302F2F #2F302F #2F2F30
tetradic
#302F2F #2F302F #2F3030 #2F2F30
square
#302F2F #2F302F #2F3030 #2F2F30
split-complementary
#302F2F #2F302F #2F2F30
monochromatic
#0F0F0F #111111 #302F2F #4F4D4D #6E6C6C

Accessibility & contrast

On white

13.35
#302F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#302F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F2F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F2F#FFFFFF#000000##FFFFFF
##302F2F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302f2f;
/* rgb */ color: rgb(48, 47, 47);
/* oklch */ color: oklch(30.6% 0.001 17.0);
Tailwind
colors: {
  custom: {
    50: '#686767',
    500: '#302f2f',
    950: '#000000',
  },
}
SCSS
$custom: #302f2f;
$custom-light: #686767;
$custom-dark: #000000;
JSON
{
  "hex": "#302f2f",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 1.053,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30622,
    "c": 0.00143,
    "h": 17
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#302F2F
secondary
#5D5E5E
accent
#AAAA7D
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #302F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#302F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva