#2D302F#2D302F

#2D302F is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.005 H 174.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2D302F
RGBrgb(45, 48, 47)
HSLhsl(160, 3%, 18%)
HSVhsv(160, 6%, 19%)
CMYKcmyk(6.2%, 0%, 2.1%, 81.2%)
CIE-LABlab(19.54, -1.55, 0.18)
CIE-LCHlch(19.54, 1.57, 173.24°)
OKLaboklab(30.58% -0.0045 0.0005)
OKLCHoklch(30.58% 0.005 174.1)
XYZxyz(2.6521, 2.8770, 3.1044)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D302F #302D2E
analogous
#2D302D #2D302F #2D2F30
triadic
#2D302F #2F2D30 #302F2D
tetradic
#2D302F #2D2D30 #302D2E #2F302D
square
#2D302F #2D2D30 #302D2E #2F302D
split-complementary
#2D302F #302D2F #302D2D
monochromatic
#0F100F #0F1010 #2D302F #4B504E #686F6D

Accessibility & contrast

On white

13.33
#2D302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2D302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D302F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D302F#FFFFFF#000000##FFFFFF
##2D302F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#2C3030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d302f;
/* rgb */ color: rgb(45, 48, 47);
/* oklch */ color: oklch(30.6% 0.005 174.1);
Tailwind
colors: {
  custom: {
    50: '#656867',
    500: '#2d302f',
    950: '#000000',
  },
}
SCSS
$custom: #2d302f;
$custom-light: #656867;
$custom-dark: #000000;
JSON
{
  "hex": "#2d302f",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 160,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.00456,
    "h": 174.1
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#2D302F
secondary
#5E5A5C
accent
#7B8CAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D302F

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

Preview Lab → · Contrast checker → · Palette generator →

#2D302F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva