Skip to content

#a5abc2

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

RGB
165, 171, 194
HSL
228°, 19%, 70%
CMYK
15, 12, 0, 24
Luminance
0.4102

Every format

HEX#a5abc2
RGBrgb(165, 171, 194)
HSLhsl(228, 19%, 70%)
CMYKcmyk(15%, 12%, 0%, 24%)
LABlab(70.2 2.6 -12.4)
LCHlch(70.2 12.7 281.8)
OKLCHoklch(0.744 0.034 274.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a5abc2 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#a5abc2 on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green67.1%
Blue76.1%

CMYK percentages

Cyan14.9%
Magenta11.9%
Yellow0.0%
Key (black)23.9%

Color previews

#a5abc2 text on a black background

contrast 9.20:1

Card sample

#a5abc2 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5abc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5abc2 in the Color Lab