#302B2F#302B2F

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

Color values

HEX#302B2F
RGBrgb(48, 43, 47)
HSLhsl(312, 5%, 18%)
HSVhsv(312, 10%, 19%)
CMYKcmyk(0%, 10.4%, 2.1%, 81.2%)
CIE-LABlab(18.19, 3.19, -1.76)
CIE-LCHlch(18.19, 3.64, 331.06°)
OKLaboklab(29.6% 0.0089 -0.0046)
OKLCHoklch(29.6% 0.01 332.5)
XYZxyz(2.5958, 2.5614, 3.0464)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B2F #2B302C
analogous
#2E2B30 #302B2F #302B2C
triadic
#302B2F #2F302B #2B2F30
tetradic
#302B2F #302E2B #2B302C #2B2C30
square
#302B2F #302E2B #2B302C #2B2C30
split-complementary
#302B2F #2C302B #2B302E
monochromatic
#100E10 #100E10 #302B2F #50484F #71656E

Accessibility & contrast

On white

13.89
#302B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302B2F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B2F#FFFFFF#000000##FFFFFF
##302B2F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302b2f;
/* rgb */ color: rgb(48, 43, 47);
/* oklch */ color: oklch(29.6% 0.010 332.5);
Tailwind
colors: {
  custom: {
    50: '#686467',
    500: '#302b2f',
    950: '#000000',
  },
}
SCSS
$custom: #302b2f;
$custom-light: #686467;
$custom-dark: #000000;
JSON
{
  "hex": "#302b2f",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 312,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29598,
    "c": 0.01008,
    "h": 332.5
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#302B2F
secondary
#585F59
accent
#AF8479
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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