#aaafcc
a light, soft blue · warm · closest name: silver
RGB
170, 175, 204
HSL
231°, 25%, 73%
CMYK
17, 14, 0, 20
Luminance
0.4357
Every format
| HEX | #aaafcc |
| RGB | rgb(170, 175, 204) |
| HSL | hsl(231, 25%, 73%) |
| CMYK | cmyk(17%, 14%, 0%, 20%) |
| LAB | lab(71.9 4.2 -15.3) |
| LCH | lch(71.9 15.8 285.4) |
| OKLCH | oklch(0.760 0.042 277.6) |
Copy-ready code
/* CSS */
color: #aaafcc;
background-color: #aaafcc;
/* Tailwind (arbitrary) */
class="text-[#aaafcc] bg-[#aaafcc]"
/* SCSS */
$brand: #aaafcc;
/* SwiftUI */
Color(red: 0.667, green: 0.686, blue: 0.800)
/* Android */
Color.parseColor("#aaafcc")Accessibility — WCAG contrast
Aa
#aaafcc on white: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aaafcc on black: 9.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green68.6%
Blue80.0%
CMYK percentages
Cyan16.7%
Magenta14.2%
Yellow0.0%
Key (black)20.0%
Color previews
#aaafcc text on a black background
contrast 9.71:1
Card sample
#aaafcc text on a white background
contrast 2.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aaafcc;
Background color
Panel with #aaafcc background
background-color: #aaafcc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aaafcc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 175, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 175, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaafcc; background: linear-gradient(135deg, #aaafcc, #BCAACC);