#5985eb
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 | #5985eb | |
| RGB | rgb(89 133 235) | |
| HSL | hsl(221.92 78.49% 63.53%) | |
| OKLCH | oklch(0.63 0.16 264.68) | |
| CMYK | cmyk(62.13% 43.4% 0% 7.84%) | |
| Android | #ff5985eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.51:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.97: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="#5985eb"
Gradient stop
<stop stop-color="#5985eb"/>
CSS variable + fill
:root { --c: #5985eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5985eb; background-color: #5985eb; bg-[#5985eb]