#302F2B#302F2B

#302F2B is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.5% C 0.007 H 95.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#302F2B
RGBrgb(48, 47, 43)
HSLhsl(48, 5%, 18%)
HSVhsv(48, 10%, 19%)
CMYKcmyk(0%, 2.1%, 10.4%, 81.2%)
CIE-LABlab(19.37, -0.45, 2.73)
CIE-LCHlch(19.37, 2.76, 99.43°)
OKLaboklab(30.48% -0.0007 0.0071)
OKLCHoklch(30.48% 0.007 95.3)
XYZxyz(2.6714, 2.8358, 2.6917)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F2B #2B2C30
analogous
#302C2B #302F2B #2E302B
triadic
#302F2B #2B302F #2F2B30
tetradic
#302F2B #2B302C #2B2C30 #302B2E
square
#302F2B #2B302C #2B2C30 #302B2E
split-complementary
#302F2B #2B2E30 #2C2B30
monochromatic
#10100E #10100E #302F2B #504F48 #716E65

Accessibility & contrast

On white

13.40
#302F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F2B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F2B#FFFFFF#000000##FFFFFF
##302F2B1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302f2b;
/* rgb */ color: rgb(48, 47, 43);
/* oklch */ color: oklch(30.5% 0.007 95.3);
Tailwind
colors: {
  custom: {
    50: '#686764',
    500: '#302f2b',
    950: '#000000',
  },
}
SCSS
$custom: #302f2b;
$custom-light: #686764;
$custom-dark: #000000;
JSON
{
  "hex": "#302f2b",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 48,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.00717,
    "h": 95.3
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#302F2B
secondary
#58595F
accent
#84AF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #302F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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