#302A2E#302A2E

#302A2E is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.011 H 338.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#302A2E
RGBrgb(48, 42, 46)
HSLhsl(320, 7%, 18%)
HSVhsv(320, 13%, 19%)
CMYKcmyk(0%, 12.5%, 4.2%, 81.2%)
CIE-LABlab(17.84, 3.65, -1.59)
CIE-LCHlch(17.84, 3.98, 336.40°)
OKLaboklab(29.31% 0.0104 -0.0042)
OKLCHoklch(29.31% 0.011 338)
XYZxyz(2.5400, 2.4816, 2.9294)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A2E #2A302C
analogous
#2F2A30 #302A2E #302A2B
triadic
#302A2E #2E302A #2A2E30
tetradic
#302A2E #302F2A #2A302C #2A2B30
square
#302A2E #302F2A #2A302C #2A2B30
split-complementary
#302A2E #2B302A #2A302F
monochromatic
#100E10 #100E10 #302A2E #51474D #71636D

Accessibility & contrast

On white

14.03
#302A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A2E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A2E#FFFFFF#000000##FFFFFF
##302A2E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#312A2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302a2e;
/* rgb */ color: rgb(48, 42, 46);
/* oklch */ color: oklch(29.3% 0.011 338.0);
Tailwind
colors: {
  custom: {
    50: '#686366',
    500: '#302a2e',
    950: '#000000',
  },
}
SCSS
$custom: #302a2e;
$custom-light: #686366;
$custom-dark: #000000;
JSON
{
  "hex": "#302a2e",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 320,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.0112,
    "h": 338
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#302A2E
secondary
#575F59
accent
#B08B78
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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