Skip to content

#a2abc7

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

RGB
162, 171, 199
HSL
225°, 25%, 71%
CMYK
19, 14, 0, 22
Luminance
0.4093

Every format

HEX#a2abc7
RGBrgb(162, 171, 199)
HSLhsl(225, 25%, 71%)
CMYKcmyk(19%, 14%, 0%, 22%)
LABlab(70.1 2.7 -15.3)
LCHlch(70.1 15.6 280.1)
OKLCHoklch(0.743 0.042 271.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2abc7 on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#a2abc7 on black: 9.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.1%
Blue78.0%

CMYK percentages

Cyan18.6%
Magenta14.1%
Yellow0.0%
Key (black)22.0%

Color previews

#a2abc7 text on a black background

contrast 9.19:1

Card sample

#a2abc7 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2abc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2abc7 in the Color Lab