#afd5fd
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 | #afd5fd | |
| RGB | rgb(175 213 253) | |
| HSL | hsl(210.77 95.12% 83.92%) | |
| OKLCH | oklch(0.86 0.07 249.95) | |
| CMYK | cmyk(30.83% 15.81% 0% 0.78%) | |
| Android | #ffafd5fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.75: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="#afd5fd"
Gradient stop
<stop stop-color="#afd5fd"/>
CSS variable + fill
:root { --c: #afd5fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd5fd; background-color: #afd5fd; bg-[#afd5fd]