#666ccd
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 | #666ccd | |
| RGB | rgb(102 108 205) | |
| HSL | hsl(236.5 50.74% 60.2%) | |
| OKLCH | oklch(0.57 0.15 278.02) | |
| CMYK | cmyk(50.24% 47.32% 0% 19.61%) | |
| Android | #ff666ccd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59: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="#666ccd"
Gradient stop
<stop stop-color="#666ccd"/>
CSS variable + fill
:root { --c: #666ccd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #666ccd; background-color: #666ccd; bg-[#666ccd]