#302D2A#302D2A

#302D2A is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.007 H 67.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#302D2A
RGBrgb(48, 45, 42)
HSLhsl(30, 7%, 18%)
HSVhsv(30, 13%, 19%)
CMYKcmyk(0%, 6.2%, 12.5%, 81.2%)
CIE-LABlab(18.68, 0.69, 2.42)
CIE-LCHlch(18.68, 2.52, 74.13°)
OKLaboklab(29.92% 0.0026 0.0064)
OKLCHoklch(29.92% 0.007 67.5)
XYZxyz(2.5752, 2.6723, 2.5702)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D2A #2A2D30
analogous
#302A2A #302D2A #30302A
triadic
#302D2A #2A302D #2D2A30
tetradic
#302D2A #2A302A #2A2D30 #302A30
square
#302D2A #2A302A #2A2D30 #302A30
split-complementary
#302D2A #2A3030 #2A2A30
monochromatic
#100F0E #100F0E #302D2A #514C47 #716A63

Accessibility & contrast

On white

13.69
#302D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#302D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D2A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D2A#FFFFFF#000000##FFFFFF
##302D2A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302d2a;
/* rgb */ color: rgb(48, 45, 42);
/* oklch */ color: oklch(29.9% 0.007 67.5);
Tailwind
colors: {
  custom: {
    50: '#686563',
    500: '#302d2a',
    950: '#000000',
  },
}
SCSS
$custom: #302d2a;
$custom-light: #686563;
$custom-dark: #000000;
JSON
{
  "hex": "#302d2a",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 30,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29924,
    "c": 0.00688,
    "h": 67.5
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#302D2A
secondary
#575B5F
accent
#94B078
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060505
muted
#7A7A79

Preview Lab

Preview with #302D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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