#a2accc
a light, soft blue · warm · closest name: silver
RGB
162, 172, 204
HSL
226°, 29%, 72%
CMYK
21, 16, 0, 20
Luminance
0.4155
Every format
| HEX | #a2accc |
| RGB | rgb(162, 172, 204) |
| HSL | hsl(226, 29%, 72%) |
| CMYK | cmyk(21%, 16%, 0%, 20%) |
| LAB | lab(70.6 3.3 -17.4) |
| LCH | lch(70.6 17.7 280.8) |
| OKLCH | oklch(0.747 0.048 271.6) |
Copy-ready code
/* CSS */
color: #a2accc;
background-color: #a2accc;
/* Tailwind (arbitrary) */
class="text-[#a2accc] bg-[#a2accc]"
/* SCSS */
$brand: #a2accc;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.800)
/* Android */
Color.parseColor("#a2accc")Accessibility — WCAG contrast
Aa
#a2accc on white: 2.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2accc on black: 9.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue80.0%
CMYK percentages
Cyan20.6%
Magenta15.7%
Yellow0.0%
Key (black)20.0%
Color previews
#a2accc text on a black background
contrast 9.31:1
Card sample
#a2accc text on a white background
contrast 2.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2accc;
Background color
Panel with #a2accc background
background-color: #a2accc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2accc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2accc; background: linear-gradient(135deg, #a2accc, #B4A2CC);