#5f70cd
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 | #5f70cd | |
| RGB | rgb(95 112 205) | |
| HSL | hsl(230.73 52.38% 58.82%) | |
| OKLCH | oklch(0.58 0.14 273.3) | |
| CMYK | cmyk(53.66% 45.37% 0% 19.61%) | |
| Android | #ff5f70cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68: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="#5f70cd"
Gradient stop
<stop stop-color="#5f70cd"/>
CSS variable + fill
:root { --c: #5f70cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5f70cd; background-color: #5f70cd; bg-[#5f70cd]