#302D2D#302D2D

#302D2D is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.004 H 17.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#302D2D
RGBrgb(48, 45, 45)
HSLhsl(0, 3%, 18%)
HSVhsv(0, 6%, 19%)
CMYKcmyk(0%, 6.2%, 6.2%, 81.2%)
CIE-LABlab(18.78, 1.35, 0.48)
CIE-LCHlch(18.78, 1.43, 19.71°)
OKLaboklab(30.03% 0.0041 0.0013)
OKLCHoklch(30.03% 0.004 17.4)
XYZxyz(2.6309, 2.6946, 2.8636)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D2D #2D3030
analogous
#302D2E #302D2D #302E2D
triadic
#302D2D #2D302D #2D2D30
tetradic
#302D2D #2E302D #2D3030 #2E2D30
square
#302D2D #2E302D #2D3030 #2E2D30
split-complementary
#302D2D #2D302E #2D2E30
monochromatic
#100F0F #100F0F #302D2D #504B4B #6F6868

Accessibility & contrast

On white

13.65
#302D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D2D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D2D#FFFFFF#000000##FFFFFF
##302D2D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2D
Deuteranopia (green-blind)
#2E2E2D
Tritanopia (blue-blind)
#312D2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302d2d;
/* rgb */ color: rgb(48, 45, 45);
/* oklch */ color: oklch(30.0% 0.004 17.4);
Tailwind
colors: {
  custom: {
    50: '#686565',
    500: '#302d2d',
    950: '#000000',
  },
}
SCSS
$custom: #302d2d;
$custom-light: #686565;
$custom-dark: #000000;
JSON
{
  "hex": "#302d2d",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30031,
    "c": 0.00434,
    "h": 17.4
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#302D2D
secondary
#5A5E5E
accent
#ACAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #302D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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