#302A2D#302A2D

#302A2D is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.010 H 346.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#302A2D
RGBrgb(48, 42, 45)
HSLhsl(330, 7%, 18%)
HSVhsv(330, 13%, 19%)
CMYKcmyk(0%, 12.5%, 6.2%, 81.2%)
CIE-LABlab(17.80, 3.41, -0.95)
CIE-LCHlch(17.80, 3.54, 344.52°)
OKLaboklab(29.27% 0.0099 -0.0025)
OKLCHoklch(29.27% 0.01 346.1)
XYZxyz(2.5205, 2.4738, 2.8268)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A2D #2A302D
analogous
#302A30 #302A2D #302A2A
triadic
#302A2D #2D302A #2A2D30
tetradic
#302A2D #30302A #2A302D #2A2A30
square
#302A2D #30302A #2A302D #2A2A30
split-complementary
#302A2D #2A302A #2A3030
monochromatic
#100E0F #100E0F #302A2D #51474C #71636A

Accessibility & contrast

On white

14.05
#302A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A2D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A2D#FFFFFF#000000##FFFFFF
##302A2D1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#312A2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302a2d;
/* rgb */ color: rgb(48, 42, 45);
/* oklch */ color: oklch(29.3% 0.010 346.1);
Tailwind
colors: {
  custom: {
    50: '#686365',
    500: '#302a2d',
    950: '#000000',
  },
}
SCSS
$custom: #302a2d;
$custom-light: #686365;
$custom-dark: #000000;
JSON
{
  "hex": "#302a2d",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 330,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29267,
    "c": 0.01021,
    "h": 346.1
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#302A2D
secondary
#575F5B
accent
#B09478
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #302A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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