#0572cd
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 | #0572cd | |
| RGB | rgb(5 114 205) | |
| HSL | hsl(207.3 95.24% 41.18%) | |
| OKLCH | oklch(0.55 0.16 252.29) | |
| CMYK | cmyk(97.56% 44.39% 0% 19.61%) | |
| Android | #ff0572cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29: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="#0572cd"
Gradient stop
<stop stop-color="#0572cd"/>
CSS variable + fill
:root { --c: #0572cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0572cd; background-color: #0572cd; bg-[#0572cd]