#5772fb
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 | #5772fb | |
| RGB | rgb(87 114 251) | |
| HSL | hsl(230.12 95.35% 66.27%) | |
| OKLCH | oklch(0.61 0.21 270.66) | |
| CMYK | cmyk(65.34% 54.58% 0% 1.57%) | |
| Android | #ff5772fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20: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="#5772fb"
Gradient stop
<stop stop-color="#5772fb"/>
CSS variable + fill
:root { --c: #5772fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5772fb; background-color: #5772fb; bg-[#5772fb]