#4f5edd
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 | #4f5edd | |
| RGB | rgb(79 94 221) | |
| HSL | hsl(233.66 67.62% 58.82%) | |
| OKLCH | oklch(0.54 0.19 273.09) | |
| CMYK | cmyk(64.25% 57.47% 0% 13.33%) | |
| Android | #ff4f5edd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97: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="#4f5edd"
Gradient stop
<stop stop-color="#4f5edd"/>
CSS variable + fill
:root { --c: #4f5edd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4f5edd; background-color: #4f5edd; bg-[#4f5edd]