#667aef
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 | #667aef | |
| RGB | rgb(102 122 239) | |
| HSL | hsl(231.24 81.07% 66.86%) | |
| OKLCH | oklch(0.62 0.18 272.97) | |
| CMYK | cmyk(57.32% 48.95% 0% 6.27%) | |
| Android | #ff667aef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#667aef"
Gradient stop
<stop stop-color="#667aef"/>
CSS variable + fill
:root { --c: #667aef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #667aef; background-color: #667aef; bg-[#667aef]