#2D302B#2D302B

#2D302B is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.010 H 132.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2D302B
RGBrgb(45, 48, 43)
HSLhsl(96, 5%, 18%)
HSVhsv(96, 10%, 19%)
CMYKcmyk(6.2%, 0%, 10.4%, 81.2%)
CIE-LABlab(19.42, -2.49, 2.75)
CIE-LCHlch(19.42, 3.71, 132.12°)
OKLaboklab(30.44% -0.0066 0.0072)
OKLCHoklch(30.44% 0.01 132.6)
XYZxyz(2.5751, 2.8462, 2.6987)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D302B #2E2B30
analogous
#2F302B #2D302B #2B302B
triadic
#2D302B #2B2D30 #302B2D
tetradic
#2D302B #2B2F30 #2E2B30 #302B2B
square
#2D302B #2B2F30 #2E2B30 #302B2B
split-complementary
#2D302B #2B2B30 #302B2F
monochromatic
#0F100E #0F100E #2D302B #4B5048 #6A7165

Accessibility & contrast

On white

13.38
#2D302B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D302B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D302B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D302B#FFFFFF#000000##FFFFFF
##2D302B1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d302b;
/* rgb */ color: rgb(45, 48, 43);
/* oklch */ color: oklch(30.4% 0.010 132.6);
Tailwind
colors: {
  custom: {
    50: '#656864',
    500: '#2d302b',
    950: '#000000',
  },
}
SCSS
$custom: #2d302b;
$custom-light: #656864;
$custom-dark: #000000;
JSON
{
  "hex": "#2d302b",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 96,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.00975,
    "h": 132.6
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#2D302B
secondary
#5C585F
accent
#79AF99
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D302B

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

Preview Lab → · Contrast checker → · Palette generator →

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