Skip to content

#a2abd9

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

RGB
162, 171, 217
HSL
230°, 42%, 74%
CMYK
25, 21, 0, 15
Luminance
0.4182

Every format

HEX#a2abd9
RGBrgb(162, 171, 217)
HSLhsl(230, 42%, 74%)
CMYKcmyk(25%, 21%, 0%, 15%)
LABlab(70.7 6.9 -24.3)
LCHlch(70.7 25.2 285.8)
OKLCHoklch(0.750 0.067 276.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2abd9 on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#a2abd9 on black: 9.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.1%
Blue85.1%

CMYK percentages

Cyan25.3%
Magenta21.2%
Yellow0.0%
Key (black)14.9%

Color previews

#a2abd9 text on a black background

contrast 9.36:1

Card sample

#a2abd9 text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2abd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2abd9 in the Color Lab