Skip to content

#a5abc5

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

RGB
165, 171, 197
HSL
229°, 22%, 71%
CMYK
16, 13, 0, 23
Luminance
0.4116

Every format

HEX#a5abc5
RGBrgb(165, 171, 197)
HSLhsl(229, 22%, 71%)
CMYKcmyk(16%, 13%, 0%, 23%)
LABlab(70.3 3.3 -13.9)
LCHlch(70.3 14.3 283.2)
OKLCHoklch(0.745 0.038 275.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.7%
Green67.1%
Blue77.3%

CMYK percentages

Cyan16.2%
Magenta13.2%
Yellow0.0%
Key (black)22.7%

Color previews

#a5abc5 text on a black background

contrast 9.23:1

Card sample

#a5abc5 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5abc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5abc5 in the Color Lab