Skip to content

#8e9dab

a balanced, muted blue · cool · closest name: gray

RGB
142, 157, 171
HSL
209°, 15%, 61%
CMYK
17, 8, 0, 33
Luminance
0.3280

Every format

HEX#8e9dab
RGBrgb(142, 157, 171)
HSLhsl(209, 15%, 61%)
CMYKcmyk(17%, 8%, 0%, 33%)
LABlab(64.0 -2.3 -9.1)
LCHlch(64.0 9.3 255.8)
OKLCHoklch(0.689 0.027 246.3)

Copy-ready code

/* CSS */
color: #8e9dab;
background-color: #8e9dab;
/* Tailwind (arbitrary) */
class="text-[#8e9dab] bg-[#8e9dab]"
/* SCSS */
$brand: #8e9dab;
/* SwiftUI */
Color(red: 0.557, green: 0.616, blue: 0.671)
/* Android */
Color.parseColor("#8e9dab")

Accessibility — WCAG contrast

Aa
#8e9dab on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#8e9dab on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green61.6%
Blue67.1%

CMYK percentages

Cyan17.0%
Magenta8.2%
Yellow0.0%
Key (black)32.9%

Color previews

#8e9dab text on a black background

contrast 7.56:1

Card sample

#8e9dab text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8e9dab;
Background color
Panel with #8e9dab background
background-color: #8e9dab;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 157, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 157, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8e9dab;
background: linear-gradient(135deg, #8e9dab, #928EAB);

Monochromatic scale

Palettes built from #8e9dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8e9dab in the Color Lab