#302B2E#302B2E

#302B2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.009 H 340.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#302B2E
RGBrgb(48, 43, 46)
HSLhsl(324, 5%, 18%)
HSVhsv(324, 10%, 19%)
CMYKcmyk(0%, 10.4%, 4.2%, 81.2%)
CIE-LABlab(18.16, 2.95, -1.12)
CIE-LCHlch(18.16, 3.16, 339.28°)
OKLaboklab(29.56% 0.0085 -0.0029)
OKLCHoklch(29.56% 0.009 340.9)
XYZxyz(2.5759, 2.5534, 2.9414)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B2E #2B302D
analogous
#2F2B30 #302B2E #302B2B
triadic
#302B2E #2E302B #2B2E30
tetradic
#302B2E #302F2B #2B302D #2B2B30
square
#302B2E #302F2B #2B302D #2B2B30
split-complementary
#302B2E #2B302B #2B302F
monochromatic
#100E0F #100E0F #302B2E #50484D #71656C

Accessibility & contrast

On white

13.90
#302B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#302B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B2E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B2E#FFFFFF#000000##FFFFFF
##302B2E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302b2e;
/* rgb */ color: rgb(48, 43, 46);
/* oklch */ color: oklch(29.6% 0.009 340.9);
Tailwind
colors: {
  custom: {
    50: '#686466',
    500: '#302b2e',
    950: '#000000',
  },
}
SCSS
$custom: #302b2e;
$custom-light: #686466;
$custom-dark: #000000;
JSON
{
  "hex": "#302b2e",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 324,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29559,
    "c": 0.00895,
    "h": 340.9
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#302B2E
secondary
#585F5B
accent
#AF8F79
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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