#407ee3
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 | #407ee3 | |
| RGB | rgb(64 126 227) | |
| HSL | hsl(217.18 74.43% 57.06%) | |
| OKLCH | oklch(0.6 0.17 259.71) | |
| CMYK | cmyk(71.81% 44.49% 0% 10.98%) | |
| Android | #ff407ee3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.95:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.31: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="#407ee3"
Gradient stop
<stop stop-color="#407ee3"/>
CSS variable + fill
:root { --c: #407ee3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #407ee3; background-color: #407ee3; bg-[#407ee3]