Skip to content
Vectorlight.net

#a2baf0

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#a2baf0
RGB
162, 186, 240
HSL
221.54°, 72.22%, 78.82%
OKLCH
0.79 0.08 265.94
Names
—
Lists

Codes

FormatValue
HEX#a2baf0
RGBrgb(162 186 240)
HSLhsl(221.54 72.22% 78.82%)
OKLCHoklch(0.79 0.08 265.94)
CMYKcmyk(32.5% 22.5% 0% 5.88%)
Android#ffa2baf0

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.81:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#a2baf0"
Gradient stop
<stop stop-color="#a2baf0"/>
CSS variable + fill
:root { --c: #a2baf0; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a2baf0;
background-color: #a2baf0;
bg-[#a2baf0]