Skip to content

#a2baff

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

RGB
162, 186, 255
HSL
225°, 100%, 82%
CMYK
37, 27, 0, 0
Luminance
0.5002

Every format

HEX#a2baff
RGBrgb(162, 186, 255)
HSLhsl(225, 100%, 82%)
CMYKcmyk(37%, 27%, 0%, 0%)
LABlab(76.1 8.1 -36.7)
LCHlch(76.1 37.5 282.4)
OKLCHoklch(0.797 0.102 269.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green72.9%
Blue100.0%

CMYK percentages

Cyan36.5%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#a2baff text on a black background

contrast 11.00:1

Card sample

#a2baff text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2baff in the Color Lab