Skip to content

#a0bafd

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

RGB
160, 186, 253
HSL
223°, 96%, 81%
CMYK
37, 27, 0, 1
Luminance
0.4968

Every format

HEX#a0bafd
RGBrgb(160, 186, 253)
HSLhsl(223, 96%, 81%)
CMYKcmyk(37%, 27%, 0%, 1%)
LABlab(75.9 7.0 -35.9)
LCHlch(75.9 36.6 281.1)
OKLCHoklch(0.794 0.100 267.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0bafd on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#a0bafd on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green72.9%
Blue99.2%

CMYK percentages

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

Color previews

#a0bafd text on a black background

contrast 10.94:1

Card sample

#a0bafd text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0bafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0bafd in the Color Lab