Skip to content

#2d2d50

a deep, soft blue · warm · closest name: darkslategray

RGB
45, 45, 80
HSL
240°, 28%, 25%
CMYK
44, 44, 0, 69
Luminance
0.0301

Every format

HEX#2d2d50
RGBrgb(45, 45, 80)
HSLhsl(240, 28%, 25%)
CMYKcmyk(44%, 44%, 0%, 69%)
LABlab(20.1 10.2 -21.5)
LCHlch(20.1 23.8 295.5)
OKLCHoklch(0.315 0.062 282.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d2d50 on white: 13.10:1
AA ✓ pass · AA-large · AAA
Aa
#2d2d50 on black: 1.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green17.6%
Blue31.4%

CMYK percentages

Cyan43.7%
Magenta43.7%
Yellow0.0%
Key (black)68.6%

Color previews

#2d2d50 text on a black background

contrast 1.60:1

Card sample

#2d2d50 text on a white background

contrast 13.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d2d50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d2d50 in the Color Lab