Skip to content

#4e4e5b

a dark, muted gray · warm · closest name: darkslategray

RGB
78, 78, 91
HSL
240°, 8%, 33%
CMYK
14, 14, 0, 64
Luminance
0.0782

Every format

HEX#4e4e5b
RGBrgb(78, 78, 91)
HSLhsl(240, 8%, 33%)
CMYKcmyk(14%, 14%, 0%, 64%)
LABlab(33.6 3.0 -7.6)
LCHlch(33.6 8.2 291.6)
OKLCHoklch(0.429 0.021 285.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4e4e5b on white: 8.19:1
AA ✓ pass · AA-large · AAA
Aa
#4e4e5b on black: 2.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.6%
Green30.6%
Blue35.7%

CMYK percentages

Cyan14.3%
Magenta14.3%
Yellow0.0%
Key (black)64.3%

Color previews

#4e4e5b text on a black background

contrast 2.56:1

Card sample

#4e4e5b text on a white background

contrast 8.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4e4e5b;
Background color
Panel with #4e4e5b background
background-color: #4e4e5b;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(78, 78, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 78, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4e4e5b;
background: linear-gradient(135deg, #4e4e5b, #574E5B);

Monochromatic scale

Palettes built from #4e4e5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4e4e5b in the Color Lab