Skip to content

#a6acdf

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

RGB
166, 172, 223
HSL
234°, 47%, 76%
CMYK
26, 23, 0, 13
Luminance
0.4294

Every format

HEX#a6acdf
RGBrgb(166, 172, 223)
HSLhsl(234, 47%, 76%)
CMYKcmyk(26%, 23%, 0%, 13%)
LABlab(71.5 9.0 -26.4)
LCHlch(71.5 27.8 288.8)
OKLCHoklch(0.758 0.073 279.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6acdf on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#a6acdf on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green67.5%
Blue87.5%

CMYK percentages

Cyan25.6%
Magenta22.9%
Yellow0.0%
Key (black)12.5%

Color previews

#a6acdf text on a black background

contrast 9.59:1

Card sample

#a6acdf text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 172, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 172, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a6acdf;
background: linear-gradient(135deg, #a6acdf, #C6A6DF);

Monochromatic scale

Palettes built from #a6acdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6acdf in the Color Lab