Skip to content

#2d342d

a deep, muted gray · cool · closest name: darkslategray

RGB
45, 52, 45
HSL
120°, 7%, 19%
CMYK
14, 0, 14, 80
Luminance
0.0320

Every format

HEX#2d342d
RGBrgb(45, 52, 45)
HSLhsl(120, 7%, 19%)
CMYKcmyk(14%, 0%, 14%, 80%)
LABlab(20.8 -4.7 3.4)
LCHlch(20.8 5.8 143.8)
OKLCHoklch(0.316 0.016 145.2)

Copy-ready code

/* CSS */
color: #2d342d;
background-color: #2d342d;
/* Tailwind (arbitrary) */
class="text-[#2d342d] bg-[#2d342d]"
/* SCSS */
$brand: #2d342d;
/* SwiftUI */
Color(red: 0.176, green: 0.204, blue: 0.176)
/* Android */
Color.parseColor("#2d342d")

Accessibility — WCAG contrast

Aa
#2d342d on white: 12.80:1
AA ✓ pass · AA-large · AAA
Aa
#2d342d on black: 1.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green20.4%
Blue17.6%

CMYK percentages

Cyan13.5%
Magenta0.0%
Yellow13.5%
Key (black)79.6%

Color previews

#2d342d text on a black background

contrast 1.64:1

Card sample

#2d342d text on a white background

contrast 12.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2d342d;
Background color
Panel with #2d342d background
background-color: #2d342d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2d342d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(45, 52, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 52, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d342d;
background: linear-gradient(135deg, #2d342d, #2D3432);

Monochromatic scale

Palettes built from #2d342d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d342d in the Color Lab