#302D30#302D30

#302D30 is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.007 H 325.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#302D30
RGBrgb(48, 45, 48)
HSLhsl(300, 3%, 18%)
HSVhsv(300, 6%, 19%)
CMYKcmyk(0%, 6.2%, 0%, 81.2%)
CIE-LABlab(18.88, 2.04, -1.45)
CIE-LCHlch(18.88, 2.50, 324.71°)
OKLaboklab(30.15% 0.0056 -0.0038)
OKLCHoklch(30.15% 0.007 325.7)
XYZxyz(2.6907, 2.7186, 3.1787)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D30 #2D302D
analogous
#2E2D30 #302D30 #302D2E
triadic
#302D30 #30302D #2D3030
tetradic
#302D30 #302E2D #2D302D #2D2E30
square
#302D30 #302E2D #2D302D #2D2E30
split-complementary
#302D30 #2E302D #2D302E
monochromatic
#100F10 #100F10 #302D30 #504B50 #6F686F

Accessibility & contrast

On white

13.60
#302D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D30
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D30#FFFFFF#000000##FFFFFF
##302D301.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E30
Deuteranopia (green-blind)
#2D2E30
Tritanopia (blue-blind)
#302D2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302d30;
/* rgb */ color: rgb(48, 45, 48);
/* oklch */ color: oklch(30.1% 0.007 325.7);
Tailwind
colors: {
  custom: {
    50: '#686568',
    500: '#302d30',
    950: '#000000',
  },
}
SCSS
$custom: #302d30;
$custom-light: #686568;
$custom-dark: #000000;
JSON
{
  "hex": "#302d30",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.0068,
    "h": 325.7
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#302D30
secondary
#5A5E5A
accent
#AC7B7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #302D30

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

Preview Lab → · Contrast checker → · Palette generator →

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