#4762ec
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 | #4762ec | |
| RGB | rgb(71 98 236) | |
| HSL | hsl(230.18 81.28% 60.2%) | |
| OKLCH | oklch(0.56 0.21 269.81) | |
| CMYK | cmyk(69.92% 58.47% 0% 7.45%) | |
| Android | #ff4762ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.22:1
Fail AA normal text
Pass 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="#4762ec"
Gradient stop
<stop stop-color="#4762ec"/>
CSS variable + fill
:root { --c: #4762ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4762ec; background-color: #4762ec; bg-[#4762ec]