Skip to content

#a0afeb

a light, vivid blue · warm · closest name: steelblue

RGB
160, 175, 235
HSL
228°, 65%, 78%
CMYK
32, 26, 0, 8
Luminance
0.4413

Every format

HEX#a0afeb
RGBrgb(160, 175, 235)
HSLhsl(228, 65%, 78%)
CMYKcmyk(32%, 26%, 0%, 8%)
LABlab(72.3 8.5 -31.7)
LCHlch(72.3 32.8 285.0)
OKLCHoklch(0.764 0.088 273.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0afeb on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a0afeb on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green68.6%
Blue92.2%

CMYK percentages

Cyan31.9%
Magenta25.5%
Yellow0.0%
Key (black)7.8%

Color previews

#a0afeb text on a black background

contrast 9.83:1

Card sample

#a0afeb text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0afeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0afeb in the Color Lab