Skip to content

#a2bafd

a light, electric blue · cool · closest name: steelblue

RGB
162, 186, 253
HSL
224°, 96%, 81%
CMYK
36, 27, 0, 1
Luminance
0.4989

Every format

HEX#a2bafd
RGBrgb(162, 186, 253)
HSLhsl(224, 96%, 81%)
CMYKcmyk(36%, 27%, 0%, 1%)
LABlab(76.0 7.6 -35.7)
LCHlch(76.0 36.5 282.0)
OKLCHoklch(0.796 0.099 268.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2bafd on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#a2bafd on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green72.9%
Blue99.2%

CMYK percentages

Cyan36.0%
Magenta26.5%
Yellow0.0%
Key (black)0.8%

Color previews

#a2bafd text on a black background

contrast 10.98:1

Card sample

#a2bafd text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2bafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2bafd in the Color Lab