#302A2F#302A2F

#302A2F is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.012 H 331.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#302A2F
RGBrgb(48, 42, 47)
HSLhsl(310, 7%, 18%)
HSVhsv(310, 13%, 19%)
CMYKcmyk(0%, 12.5%, 2.1%, 81.2%)
CIE-LABlab(17.87, 3.88, -2.24)
CIE-LCHlch(17.87, 4.48, 330.01°)
OKLaboklab(29.35% 0.0109 -0.0059)
OKLCHoklch(29.35% 0.012 331.4)
XYZxyz(2.5599, 2.4896, 3.0345)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A2F #2A302B
analogous
#2E2A30 #302A2F #302A2C
triadic
#302A2F #2F302A #2A2F30
tetradic
#302A2F #302E2A #2A302B #2A2C30
square
#302A2F #302E2A #2A302B #2A2C30
split-complementary
#302A2F #2C302A #2A302E
monochromatic
#100E10 #100E10 #302A2F #51474F #71636F

Accessibility & contrast

On white

14.02
#302A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A2F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A2F#FFFFFF#000000##FFFFFF
##302A2F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302a2f;
/* rgb */ color: rgb(48, 42, 47);
/* oklch */ color: oklch(29.3% 0.012 331.4);
Tailwind
colors: {
  custom: {
    50: '#686367',
    500: '#302a2f',
    950: '#000000',
  },
}
SCSS
$custom: #302a2f;
$custom-light: #686367;
$custom-dark: #000000;
JSON
{
  "hex": "#302a2f",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 310,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.01237,
    "h": 331.4
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#302A2F
secondary
#575F58
accent
#B08178
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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