#302E2B#302E2B

#302E2B is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.006 H 78.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#302E2B
RGBrgb(48, 46, 43)
HSLhsl(36, 5%, 18%)
HSVhsv(36, 10%, 19%)
CMYKcmyk(0%, 4.2%, 10.4%, 81.2%)
CIE-LABlab(19.04, 0.22, 2.25)
CIE-LCHlch(19.04, 2.26, 84.33°)
OKLaboklab(30.22% 0.0012 0.0059)
OKLCHoklch(30.22% 0.006 78.2)
XYZxyz(2.6319, 2.7568, 2.6785)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E2B #2B2D30
analogous
#302B2B #302E2B #2F302B
triadic
#302E2B #2B302E #2E2B30
tetradic
#302E2B #2B302B #2B2D30 #302B2F
square
#302E2B #2B302B #2B2D30 #302B2F
split-complementary
#302E2B #2B2F30 #2B2B30
monochromatic
#100F0E #100F0E #302E2B #504D48 #716C65

Accessibility & contrast

On white

13.54
#302E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#302E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E2B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E2B#FFFFFF#000000##FFFFFF
##302E2B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302e2b;
/* rgb */ color: rgb(48, 46, 43);
/* oklch */ color: oklch(30.2% 0.006 78.2);
Tailwind
colors: {
  custom: {
    50: '#686664',
    500: '#302e2b',
    950: '#000000',
  },
}
SCSS
$custom: #302e2b;
$custom-light: #686664;
$custom-dark: #000000;
JSON
{
  "hex": "#302e2b",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 36,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30218,
    "c": 0.00604,
    "h": 78.2
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#302E2B
secondary
#585B5F
accent
#8FAF79
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #302E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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