Skip to content

#2f4b49

a deep, soft cyan · cool · “darkslategray”

RGB
47, 75, 73
HSL
176°, 23%, 24%
CMYK
37, 0, 3, 71
Luminance
0.0612

Every format

HEX#2f4b49
RGBrgb(47, 75, 73)
HSLhsl(176, 23%, 24%)
CMYKcmyk(37%, 0%, 3%, 71%)
LABlab(29.7 -11.0 -2.2)
LCHlch(29.7 11.3 191.1)
OKLCHoklch(0.390 0.034 190.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f4b49 on white: 9.44:1
AA ✓ pass · AA-large · AAA
Aa
#2f4b49 on black: 2.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green29.4%
Blue28.6%

CMYK percentages

Cyan37.3%
Magenta0.0%
Yellow2.7%
Key (black)70.6%

Color previews

#2f4b49 text on a black background

contrast 2.22:1

Card sample

#2f4b49 text on a white background

contrast 9.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f4b49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f4b49 in the Color Lab