#302F2D#302F2D

#302F2D is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.5% C 0.004 H 84.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#302F2D
RGBrgb(48, 47, 45)
HSLhsl(40, 3%, 18%)
HSVhsv(40, 6%, 19%)
CMYKcmyk(0%, 2.1%, 6.2%, 81.2%)
CIE-LABlab(19.44, -0.01, 1.44)
CIE-LCHlch(19.44, 1.44, 90.52°)
OKLaboklab(30.55% 0.0004 0.0038)
OKLCHoklch(30.55% 0.004 84.6)
XYZxyz(2.7090, 2.8509, 2.8897)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F2D #2D2E30
analogous
#302D2D #302F2D #2F302D
triadic
#302F2D #2D302F #2F2D30
tetradic
#302F2D #2D302D #2D2E30 #302D2F
square
#302F2D #2D302D #2D2E30 #302D2F
split-complementary
#302F2D #2D2F30 #2D2D30
monochromatic
#100F0F #10100F #302F2D #504E4B #6F6D68

Accessibility & contrast

On white

13.37
#302F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#302F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F2D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F2D#FFFFFF#000000##FFFFFF
##302F2D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#312F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302f2d;
/* rgb */ color: rgb(48, 47, 45);
/* oklch */ color: oklch(30.5% 0.004 84.6);
Tailwind
colors: {
  custom: {
    50: '#686765',
    500: '#302f2d',
    950: '#000000',
  },
}
SCSS
$custom: #302f2d;
$custom-light: #686765;
$custom-dark: #000000;
JSON
{
  "hex": "#302f2d",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 40,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30549,
    "c": 0.00382,
    "h": 84.6
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#302F2D
secondary
#5A5C5E
accent
#8CAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #302F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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