Skip to content

#8a9dae

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

RGB
138, 157, 174
HSL
208°, 18%, 61%
CMYK
21, 10, 0, 32
Luminance
0.3257

Every format

HEX#8a9dae
RGBrgb(138, 157, 174)
HSLhsl(208, 18%, 61%)
CMYKcmyk(21%, 10%, 0%, 32%)
LABlab(63.8 -2.9 -11.1)
LCHlch(63.8 11.4 255.2)
OKLCHoklch(0.687 0.033 245.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8a9dae on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#8a9dae on black: 7.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green61.6%
Blue68.2%

CMYK percentages

Cyan20.7%
Magenta9.8%
Yellow0.0%
Key (black)31.8%

Color previews

#8a9dae text on a black background

contrast 7.51:1

Card sample

#8a9dae text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 157, 174, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 157, 174, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8a9dae;
background: linear-gradient(135deg, #8a9dae, #8F8AAE);

Monochromatic scale

Palettes built from #8a9dae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8a9dae in the Color Lab