#4e5fae
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 | #4e5fae | |
| RGB | rgb(78 95 174) | |
| HSL | hsl(229.38 38.1% 49.41%) | |
| OKLCH | oklch(0.51 0.13 272.1) | |
| CMYK | cmyk(55.17% 45.4% 0% 31.76%) | |
| Android | #ff4e5fae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.57: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="#4e5fae"
Gradient stop
<stop stop-color="#4e5fae"/>
CSS variable + fill
:root { --c: #4e5fae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e5fae; background-color: #4e5fae; bg-[#4e5fae]