#5874ee
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 | #5874ee | |
| RGB | rgb(88 116 238) | |
| HSL | hsl(228.8 81.52% 63.92%) | |
| OKLCH | oklch(0.6 0.19 270.23) | |
| CMYK | cmyk(63.03% 51.26% 0% 6.67%) | |
| Android | #ff5874ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#5874ee"
Gradient stop
<stop stop-color="#5874ee"/>
CSS variable + fill
:root { --c: #5874ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5874ee; background-color: #5874ee; bg-[#5874ee]