#302C2D#302C2D

#302C2D is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.8% C 0.006 H 0.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#302C2D
RGBrgb(48, 44, 45)
HSLhsl(345, 4%, 18%)
HSVhsv(345, 8%, 19%)
CMYKcmyk(0%, 8.3%, 6.2%, 81.2%)
CIE-LABlab(18.45, 2.03, 0.01)
CIE-LCHlch(18.45, 2.03, 0.15°)
OKLaboklab(29.78% 0.0061 0.0001)
OKLCHoklch(29.78% 0.006 0.5)
XYZxyz(2.5932, 2.6192, 2.8511)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C2D #2C302F
analogous
#302C2F #302C2D #302D2C
triadic
#302C2D #2D302C #2C2D30
tetradic
#302C2D #2F302C #2C302F #2D2C30
square
#302C2D #2F302C #2C302F #2D2C30
split-complementary
#302C2D #2C302D #2C2F30
monochromatic
#100F0F #100F0F #302C2D #50494B #706769

Accessibility & contrast

On white

13.78
#302C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C2D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C2D#FFFFFF#000000##FFFFFF
##302C2D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2D
Deuteranopia (green-blind)
#2D2D2D
Tritanopia (blue-blind)
#312C2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302c2d;
/* rgb */ color: rgb(48, 44, 45);
/* oklch */ color: oklch(29.8% 0.006 0.5);
Tailwind
colors: {
  custom: {
    50: '#686565',
    500: '#302c2d',
    950: '#000000',
  },
}
SCSS
$custom: #302c2d;
$custom-light: #686565;
$custom-dark: #000000;
JSON
{
  "hex": "#302c2d",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 345,
    "s": 4.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29775,
    "c": 0.00605,
    "h": 0.5
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#302C2D
secondary
#595F5D
accent
#AEA17A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #302C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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