#666cd4
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 | #666cd4 | |
| RGB | rgb(102 108 212) | |
| HSL | hsl(236.73 56.12% 61.57%) | |
| OKLCH | oklch(0.58 0.16 277.8) | |
| CMYK | cmyk(51.89% 49.06% 0% 16.86%) | |
| Android | #ff666cd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66: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="#666cd4"
Gradient stop
<stop stop-color="#666cd4"/>
CSS variable + fill
:root { --c: #666cd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #666cd4; background-color: #666cd4; bg-[#666cd4]