#0052ec
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 | #0052ec | |
| RGB | rgb(0 82 236) | |
| HSL | hsl(219.15 100% 46.27%) | |
| OKLCH | oklch(0.51 0.24 262.26) | |
| CMYK | cmyk(100% 65.25% 0% 7.45%) | |
| Android | #ff0052ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.41: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="#0052ec"
Gradient stop
<stop stop-color="#0052ec"/>
CSS variable + fill
:root { --c: #0052ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0052ec; background-color: #0052ec; bg-[#0052ec]