Skip to content

#a5abc7

a light, soft blue · warm · closest name: silver

RGB
165, 171, 199
HSL
229°, 23%, 71%
CMYK
17, 14, 0, 22
Luminance
0.4125

Every format

HEX#a5abc7
RGBrgb(165, 171, 199)
HSLhsl(229, 23%, 71%)
CMYKcmyk(17%, 14%, 0%, 22%)
LABlab(70.3 3.7 -15.0)
LCHlch(70.3 15.4 283.9)
OKLCHoklch(0.746 0.041 275.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a5abc7 on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#a5abc7 on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green67.1%
Blue78.0%

CMYK percentages

Cyan17.1%
Magenta14.1%
Yellow0.0%
Key (black)22.0%

Color previews

#a5abc7 text on a black background

contrast 9.25:1

Card sample

#a5abc7 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 171, 199, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 171, 199, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a5abc7;
background: linear-gradient(135deg, #a5abc7, #B6A5C7);

Monochromatic scale

Palettes built from #a5abc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5abc7 in the Color Lab