#302C2C#302C2C

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

Color values

HEX#302C2C
RGBrgb(48, 44, 44)
HSLhsl(0, 4%, 18%)
HSVhsv(0, 8%, 19%)
CMYKcmyk(0%, 8.3%, 8.3%, 81.2%)
CIE-LABlab(18.42, 1.81, 0.65)
CIE-LCHlch(18.42, 1.92, 19.81°)
OKLaboklab(29.74% 0.0056 0.0018)
OKLCHoklch(29.74% 0.006 17.5)
XYZxyz(2.5742, 2.6116, 2.7509)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C2C #2C3030
analogous
#302C2E #302C2C #302E2C
triadic
#302C2C #2C302C #2C2C30
tetradic
#302C2C #2E302C #2C3030 #2E2C30
square
#302C2C #2E302C #2C3030 #2E2C30
split-complementary
#302C2C #2C302E #2C2E30
monochromatic
#100F0F #100F0F #302C2C #504949 #706767

Accessibility & contrast

On white

13.79
#302C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C2C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C2C#FFFFFF#000000##FFFFFF
##302C2C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302c2c;
/* rgb */ color: rgb(48, 44, 44);
/* oklch */ color: oklch(29.7% 0.006 17.5);
Tailwind
colors: {
  custom: {
    50: '#686565',
    500: '#302c2c',
    950: '#000000',
  },
}
SCSS
$custom: #302c2c;
$custom-light: #686565;
$custom-dark: #000000;
JSON
{
  "hex": "#302c2c",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 0,
    "s": 4.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29738,
    "c": 0.00583,
    "h": 17.5
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#302C2C
secondary
#595F5F
accent
#AEAE7A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #302C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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