#302E2F#302E2F

#302E2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.003 H 345.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#302E2F
RGBrgb(48, 46, 47)
HSLhsl(330, 2%, 18%)
HSVhsv(330, 4%, 19%)
CMYKcmyk(0%, 4.2%, 2.1%, 81.2%)
CIE-LABlab(19.17, 1.12, -0.32)
CIE-LCHlch(19.17, 1.17, 343.93°)
OKLaboklab(30.36% 0.0032 -0.0008)
OKLCHoklch(30.36% 0.003 345.5)
XYZxyz(2.7089, 2.7876, 3.0841)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E2F #2E302F
analogous
#302E30 #302E2F #302E2E
triadic
#302E2F #2F302E #2E2F30
tetradic
#302E2F #30302E #2E302F #2E2E30
square
#302E2F #30302E #2E302F #2E2E30
split-complementary
#302E2F #2E302E #2E3030
monochromatic
#100F0F #111010 #302E2F #4F4C4E #6F6A6C

Accessibility & contrast

On white

13.48
#302E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#302E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E2F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E2F#FFFFFF#000000##FFFFFF
##302E2F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#302E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302e2f;
/* rgb */ color: rgb(48, 46, 47);
/* oklch */ color: oklch(30.4% 0.003 345.5);
Tailwind
colors: {
  custom: {
    50: '#686667',
    500: '#302e2f',
    950: '#000000',
  },
}
SCSS
$custom: #302e2f;
$custom-light: #686667;
$custom-dark: #000000;
JSON
{
  "hex": "#302e2f",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 330,
    "s": 2.128,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30363,
    "c": 0.00335,
    "h": 345.5
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#302E2F
secondary
#5C5E5D
accent
#AB947C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #302E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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