#302D2B#302D2B

#302D2B is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.006 H 56.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#302D2B
RGBrgb(48, 45, 43)
HSLhsl(24, 5%, 18%)
HSVhsv(24, 10%, 19%)
CMYKcmyk(0%, 6.2%, 10.4%, 81.2%)
CIE-LABlab(18.71, 0.90, 1.78)
CIE-LCHlch(18.71, 1.99, 63.03°)
OKLaboklab(29.96% 0.0031 0.0047)
OKLCHoklch(29.96% 0.006 56.1)
XYZxyz(2.5933, 2.6796, 2.6656)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D2B #2B2E30
analogous
#302B2B #302D2B #302F2B
triadic
#302D2B #2B302D #2D2B30
tetradic
#302D2B #2B302B #2B2E30 #2F2B30
square
#302D2B #2B302B #2B2E30 #2F2B30
split-complementary
#302D2B #2B302F #2B2B30
monochromatic
#100F0E #100F0E #302D2B #504B48 #716A65

Accessibility & contrast

On white

13.67
#302D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D2B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D2B#FFFFFF#000000##FFFFFF
##302D2B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2B
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#312C2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302d2b;
/* rgb */ color: rgb(48, 45, 43);
/* oklch */ color: oklch(30.0% 0.006 56.1);
Tailwind
colors: {
  custom: {
    50: '#686564',
    500: '#302d2b',
    950: '#000000',
  },
}
SCSS
$custom: #302d2b;
$custom-light: #686564;
$custom-dark: #000000;
JSON
{
  "hex": "#302d2b",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 24,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29959,
    "c": 0.00564,
    "h": 56.1
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#302D2B
secondary
#585C5F
accent
#99AF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060505
muted
#7A7A79

Preview Lab

Preview with #302D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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