#302C2E#302C2E

#302C2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.8% C 0.007 H 345.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#302C2E
RGBrgb(48, 44, 46)
HSLhsl(330, 4%, 18%)
HSVhsv(330, 8%, 19%)
CMYKcmyk(0%, 8.3%, 4.2%, 81.2%)
CIE-LABlab(18.48, 2.26, -0.64)
CIE-LCHlch(18.48, 2.35, 344.22°)
OKLaboklab(29.81% 0.0066 -0.0017)
OKLCHoklch(29.81% 0.007 345.7)
XYZxyz(2.6127, 2.6270, 2.9537)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C2E #2C302E
analogous
#302C30 #302C2E #302C2C
triadic
#302C2E #2E302C #2C2E30
tetradic
#302C2E #30302C #2C302E #2C2C30
square
#302C2E #30302C #2C302E #2C2C30
split-complementary
#302C2E #2C302C #2C3030
monochromatic
#100F0F #100F0F #302C2E #50494D #70676B

Accessibility & contrast

On white

13.77
#302C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#302C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C2E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C2E#FFFFFF#000000##FFFFFF
##302C2E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#312C2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302c2e;
/* rgb */ color: rgb(48, 44, 46);
/* oklch */ color: oklch(29.8% 0.007 345.7);
Tailwind
colors: {
  custom: {
    50: '#686566',
    500: '#302c2e',
    950: '#000000',
  },
}
SCSS
$custom: #302c2e;
$custom-light: #686566;
$custom-dark: #000000;
JSON
{
  "hex": "#302c2e",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 46
  },
  "hsl": {
    "h": 330,
    "s": 4.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.00676,
    "h": 345.7
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#302C2E
secondary
#595F5C
accent
#AE947A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #302C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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