#407ef7
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 | #407ef7 | |
| RGB | rgb(64 126 247) | |
| HSL | hsl(219.67 91.96% 60.98%) | |
| OKLCH | oklch(0.62 0.19 262.02) | |
| CMYK | cmyk(74.09% 48.99% 0% 3.14%) | |
| Android | #ff407ef7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#407ef7"
Gradient stop
<stop stop-color="#407ef7"/>
CSS variable + fill
:root { --c: #407ef7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #407ef7; background-color: #407ef7; bg-[#407ef7]