#302A30#302A30

#302A30 is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.4% C 0.014 H 325.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#302A30
RGBrgb(48, 42, 48)
HSLhsl(300, 7%, 18%)
HSVhsv(300, 13%, 19%)
CMYKcmyk(0%, 12.5%, 0%, 81.2%)
CIE-LABlab(17.91, 4.12, -2.88)
CIE-LCHlch(17.91, 5.03, 325.01°)
OKLaboklab(29.39% 0.0113 -0.0077)
OKLCHoklch(29.39% 0.014 325.9)
XYZxyz(2.5803, 2.4977, 3.1419)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A30 #2A302A
analogous
#2D2A30 #302A30 #302A2D
triadic
#302A30 #30302A #2A3030
tetradic
#302A30 #302D2A #2A302A #2A2D30
square
#302A30 #302D2A #2A302A #2A2D30
split-complementary
#302A30 #2D302A #2A302D
monochromatic
#100E10 #100E10 #302A30 #514751 #716371

Accessibility & contrast

On white

14.00
#302A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A30
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A30#FFFFFF#000000##FFFFFF
##302A301.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B30
Deuteranopia (green-blind)
#2B2C30
Tritanopia (blue-blind)
#302A2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302a30;
/* rgb */ color: rgb(48, 42, 48);
/* oklch */ color: oklch(29.4% 0.014 325.9);
Tailwind
colors: {
  custom: {
    50: '#686368',
    500: '#302a30',
    950: '#000000',
  },
}
SCSS
$custom: #302a30;
$custom-light: #686368;
$custom-dark: #000000;
JSON
{
  "hex": "#302a30",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.01368,
    "h": 325.9
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#302A30
secondary
#575F57
accent
#B07878
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302A30

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

Preview Lab → · Contrast checker → · Palette generator →

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