Skip to content

#1d2f34

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

RGB
29, 47, 52
HSL
193°, 28%, 16%
CMYK
44, 10, 0, 80
Luminance
0.0254

Every format

HEX#1d2f34
RGBrgb(29, 47, 52)
HSLhsl(193, 28%, 16%)
CMYKcmyk(44%, 10%, 0%, 80%)
LABlab(18.1 -5.8 -5.5)
LCHlch(18.1 8.0 223.8)
OKLCHoklch(0.292 0.025 217.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d2f34 on white: 13.92:1
AA ✓ pass · AA-large · AAA
Aa
#1d2f34 on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green18.4%
Blue20.4%

CMYK percentages

Cyan44.2%
Magenta9.6%
Yellow0.0%
Key (black)79.6%

Color previews

#1d2f34 text on a black background

contrast 1.51:1

Card sample

#1d2f34 text on a white background

contrast 13.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1d2f34;
Background color
Panel with #1d2f34 background
background-color: #1d2f34;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 47, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 47, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d2f34;
background: linear-gradient(135deg, #1d2f34, #1D2034);

Monochromatic scale

Palettes built from #1d2f34

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d2f34 in the Color Lab