#302D2F#302D2F

#302D2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.006 H 337.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#302D2F
RGBrgb(48, 45, 47)
HSLhsl(320, 3%, 18%)
HSVhsv(320, 6%, 19%)
CMYKcmyk(0%, 6.2%, 2.1%, 81.2%)
CIE-LABlab(18.84, 1.81, -0.80)
CIE-LCHlch(18.84, 1.98, 336.01°)
OKLaboklab(30.11% 0.0051 -0.0021)
OKLCHoklch(30.11% 0.006 337.6)
XYZxyz(2.6703, 2.7104, 3.0713)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D2F #2D302E
analogous
#2F2D30 #302D2F #302D2D
triadic
#302D2F #2F302D #2D2F30
tetradic
#302D2F #302F2D #2D302E #2D2D30
square
#302D2F #302F2D #2D302E #2D2D30
split-complementary
#302D2F #2D302D #2D302F
monochromatic
#100F0F #100F10 #302D2F #504B4E #6F686D

Accessibility & contrast

On white

13.62
#302D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D2F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D2F#FFFFFF#000000##FFFFFF
##302D2F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E2F
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#302D2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302d2f;
/* rgb */ color: rgb(48, 45, 47);
/* oklch */ color: oklch(30.1% 0.006 337.6);
Tailwind
colors: {
  custom: {
    50: '#686567',
    500: '#302d2f',
    950: '#000000',
  },
}
SCSS
$custom: #302d2f;
$custom-light: #686567;
$custom-dark: #000000;
JSON
{
  "hex": "#302d2f",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 320,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30107,
    "c": 0.00555,
    "h": 337.6
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#302D2F
secondary
#5A5E5C
accent
#AC8C7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #302D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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