Skip to content

#a2afba

a light, muted blue · cool · closest name: silver

RGB
162, 175, 186
HSL
208°, 15%, 68%
CMYK
13, 6, 0, 27
Luminance
0.4189

Every format

HEX#a2afba
RGBrgb(162, 175, 186)
HSLhsl(208, 15%, 68%)
CMYKcmyk(13%, 6%, 0%, 27%)
LABlab(70.8 -2.3 -7.2)
LCHlch(70.8 7.5 252.4)
OKLCHoklch(0.747 0.021 243.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green68.6%
Blue72.9%

CMYK percentages

Cyan12.9%
Magenta5.9%
Yellow0.0%
Key (black)27.1%

Color previews

#a2afba text on a black background

contrast 9.38:1

Card sample

#a2afba text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2afba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2afba in the Color Lab