Skip to content

#2d4b49

a deep, soft cyan · cool · “darkslategray”

RGB
45, 75, 73
HSL
176°, 25%, 24%
CMYK
40, 0, 3, 71
Luminance
0.0607

Every format

HEX#2d4b49
RGBrgb(45, 75, 73)
HSLhsl(176, 25%, 24%)
CMYKcmyk(40%, 0%, 3%, 71%)
LABlab(29.6 -11.7 -2.4)
LCHlch(29.6 11.9 191.4)
OKLCHoklch(0.389 0.036 190.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d4b49 on white: 9.48:1
AA ✓ pass · AA-large · AAA
Aa
#2d4b49 on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green29.4%
Blue28.6%

CMYK percentages

Cyan40.0%
Magenta0.0%
Yellow2.7%
Key (black)70.6%

Color previews

#2d4b49 text on a black background

contrast 2.21:1

Card sample

#2d4b49 text on a white background

contrast 9.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d4b49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d4b49 in the Color Lab