#667fea
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 | #667fea | |
| RGB | rgb(102 127 234) | |
| HSL | hsl(228.64 75.86% 65.88%) | |
| OKLCH | oklch(0.63 0.16 271.17) | |
| CMYK | cmyk(56.41% 45.73% 0% 8.24%) | |
| Android | #ff667fea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#667fea"
Gradient stop
<stop stop-color="#667fea"/>
CSS variable + fill
:root { --c: #667fea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #667fea; background-color: #667fea; bg-[#667fea]