#302D2E#302D2E

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

Color values

HEX#302D2E
RGBrgb(48, 45, 46)
HSLhsl(340, 3%, 18%)
HSVhsv(340, 6%, 19%)
CMYKcmyk(0%, 6.2%, 4.2%, 81.2%)
CIE-LABlab(18.81, 1.58, -0.16)
CIE-LCHlch(18.81, 1.59, 354.17°)
OKLaboklab(30.07% 0.0046 -0.0004)
OKLCHoklch(30.07% 0.005 355.1)
XYZxyz(2.6504, 2.7024, 2.9662)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D2E #2D302F
analogous
#302D2F #302D2E #302D2D
triadic
#302D2E #2E302D #2D2E30
tetradic
#302D2E #2F302D #2D302F #2D2D30
square
#302D2E #2F302D #2D302F #2D2D30
split-complementary
#302D2E #2D302D #2D2F30
monochromatic
#100F0F #100F10 #302D2E #504B4C #6F686B

Accessibility & contrast

On white

13.63
#302D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D2E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D2E#FFFFFF#000000##FFFFFF
##302D2E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302d2e;
/* rgb */ color: rgb(48, 45, 46);
/* oklch */ color: oklch(30.1% 0.005 355.1);
Tailwind
colors: {
  custom: {
    50: '#686566',
    500: '#302d2e',
    950: '#000000',
  },
}
SCSS
$custom: #302d2e;
$custom-light: #686566;
$custom-dark: #000000;
JSON
{
  "hex": "#302d2e",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 340,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30069,
    "c": 0.00466,
    "h": 355.1
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#302D2E
secondary
#5A5E5D
accent
#AC9C7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #302D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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