#a2ace4
a light, vivid blue · warm · closest name: steelblue
RGB
162, 172, 228
HSL
231°, 55%, 77%
CMYK
29, 25, 0, 11
Luminance
0.4279
Every format
| HEX | #a2ace4 |
| RGB | rgb(162, 172, 228) |
| HSL | hsl(231, 55%, 77%) |
| CMYK | cmyk(29%, 25%, 0%, 11%) |
| LAB | lab(71.4 9.0 -29.3) |
| LCH | lch(71.4 30.6 287.1) |
| OKLCH | oklch(0.757 0.081 276.4) |
Copy-ready code
/* CSS */
color: #a2ace4;
background-color: #a2ace4;
/* Tailwind (arbitrary) */
class="text-[#a2ace4] bg-[#a2ace4]"
/* SCSS */
$brand: #a2ace4;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.894)
/* Android */
Color.parseColor("#a2ace4")Accessibility — WCAG contrast
Aa
#a2ace4 on white: 2.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ace4 on black: 9.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue89.4%
CMYK percentages
Cyan28.9%
Magenta24.6%
Yellow0.0%
Key (black)10.6%
Color previews
#a2ace4 text on a black background
contrast 9.56:1
Card sample
#a2ace4 text on a white background
contrast 2.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ace4;
Background color
Panel with #a2ace4 background
background-color: #a2ace4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ace4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ace4; background: linear-gradient(135deg, #a2ace4, #C4A2E4);