#302A2C#302A2C

#302A2C is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.009 H 355.5°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#302A2C
RGBrgb(48, 42, 44)
HSLhsl(340, 7%, 18%)
HSVhsv(340, 13%, 19%)
CMYKcmyk(0%, 12.5%, 8.3%, 81.2%)
CIE-LABlab(17.77, 3.19, -0.30)
CIE-LCHlch(17.77, 3.20, 354.68°)
OKLaboklab(29.23% 0.0094 -0.0007)
OKLCHoklch(29.23% 0.009 355.5)
XYZxyz(2.5015, 2.4662, 2.7266)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A2C #2A302E
analogous
#302A2F #302A2C #302B2A
triadic
#302A2C #2C302A #2A2C30
tetradic
#302A2C #2F302A #2A302E #2B2A30
square
#302A2C #2F302A #2A302E #2B2A30
split-complementary
#302A2C #2A302B #2A2F30
monochromatic
#100E0F #100E0F #302A2C #51474A #716368

Accessibility & contrast

On white

14.06
#302A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A2C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A2C#FFFFFF#000000##FFFFFF
##302A2C1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302a2c;
/* rgb */ color: rgb(48, 42, 44);
/* oklch */ color: oklch(29.2% 0.009 355.5);
Tailwind
colors: {
  custom: {
    50: '#686365',
    500: '#302a2c',
    950: '#000000',
  },
}
SCSS
$custom: #302a2c;
$custom-light: #686365;
$custom-dark: #000000;
JSON
{
  "hex": "#302a2c",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 340,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29229,
    "c": 0.00945,
    "h": 355.5
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#302A2C
secondary
#575F5C
accent
#B09D78
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #302A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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