Skip to content
Vectorlight.net

#a1b2ef

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

HEX
#a1b2ef
RGB
161, 178, 239
HSL
226.92°, 70.91%, 78.43%
OKLCH
0.77 0.09 272.15
Names
—
Lists

Codes

FormatValue
HEX#a1b2ef
RGBrgb(161 178 239)
HSLhsl(226.92 70.91% 78.43%)
OKLCHoklch(0.77 0.09 272.15)
CMYKcmyk(32.64% 25.52% 0% 6.27%)
Android#ffa1b2ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.07:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.12: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="#a1b2ef"
Gradient stop
<stop stop-color="#a1b2ef"/>
CSS variable + fill
:root { --c: #a1b2ef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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