#667eab
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 | #667eab | |
| RGB | rgb(102 126 171) | |
| HSL | hsl(219.13 29.11% 53.53%) | |
| OKLCH | oklch(0.59 0.07 262.61) | |
| CMYK | cmyk(40.35% 26.32% 0% 32.94%) | |
| Android | #ff667eab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.13: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="#667eab"
Gradient stop
<stop stop-color="#667eab"/>
CSS variable + fill
:root { --c: #667eab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #667eab; background-color: #667eab; bg-[#667eab]