#a2b8dc
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #a2b8dc | |
| RGB | rgb(162 184 220) | |
| HSL | hsl(217.24 45.31% 74.9%) | |
| OKLCH | oklch(0.78 0.06 260.23) | |
| CMYK | cmyk(26.36% 16.36% 0% 13.73%) | |
| Android | #ffa2b8dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.01:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.42:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a2b8dc"
Gradient stop
<stop stop-color="#a2b8dc"/>
CSS variable + fill
:root { --c: #a2b8dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2b8dc; background-color: #a2b8dc; bg-[#a2b8dc]