#646dfe
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 | #646dfe | |
| RGB | rgb(100 109 254) | |
| HSL | hsl(236.49 98.72% 69.41%) | |
| OKLCH | oklch(0.61 0.21 275.43) | |
| CMYK | cmyk(60.63% 57.09% 0% 0.39%) | |
| Android | #ff646dfe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#646dfe"
Gradient stop
<stop stop-color="#646dfe"/>
CSS variable + fill
:root { --c: #646dfe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #646dfe; background-color: #646dfe; bg-[#646dfe]