#666bcb
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 | #666bcb | |
| RGB | rgb(102 107 203) | |
| HSL | hsl(237.03 49.27% 59.8%) | |
| OKLCH | oklch(0.57 0.15 278.47) | |
| CMYK | cmyk(49.75% 47.29% 0% 20.39%) | |
| Android | #ff666bcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#666bcb"
Gradient stop
<stop stop-color="#666bcb"/>
CSS variable + fill
:root { --c: #666bcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #666bcb; background-color: #666bcb; bg-[#666bcb]