#666dfd
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 | #666dfd | |
| RGB | rgb(102 109 253) | |
| HSL | hsl(237.22 97.42% 69.61%) | |
| OKLCH | oklch(0.61 0.21 276.08) | |
| CMYK | cmyk(59.68% 56.92% 0% 0.78%) | |
| Android | #ff666dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#666dfd"
Gradient stop
<stop stop-color="#666dfd"/>
CSS variable + fill
:root { --c: #666dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #666dfd; background-color: #666dfd; bg-[#666dfd]