#403ebf
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 | #403ebf | |
| RGB | rgb(64 62 191) | |
| HSL | hsl(240.93 50.99% 49.61%) | |
| OKLCH | oklch(0.45 0.2 275.95) | |
| CMYK | cmyk(66.49% 67.54% 0% 25.1%) | |
| Android | #ff403ebf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.65:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#403ebf"
Gradient stop
<stop stop-color="#403ebf"/>
CSS variable + fill
:root { --c: #403ebf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #403ebf; background-color: #403ebf; bg-[#403ebf]