Skip to content

#2d3f3f

a deep, soft cyan · cool · closest name: darkslategray

RGB
45, 63, 63
HSL
180°, 17%, 21%
CMYK
29, 0, 0, 75
Luminance
0.0447

Every format

HEX#2d3f3f
RGBrgb(45, 63, 63)
HSLhsl(180, 17%, 21%)
CMYKcmyk(29%, 0%, 0%, 75%)
LABlab(25.2 -7.2 -2.3)
LCHlch(25.2 7.5 198.1)
OKLCHoklch(0.352 0.023 196.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3f3f on white: 11.09:1
AA ✓ pass · AA-large · AAA
Aa
#2d3f3f on black: 1.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green24.7%
Blue24.7%

CMYK percentages

Cyan28.6%
Magenta0.0%
Yellow0.0%
Key (black)75.3%

Color previews

#2d3f3f text on a black background

contrast 1.89:1

Card sample

#2d3f3f text on a white background

contrast 11.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3f3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3f3f in the Color Lab