#0052dc
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 | #0052dc | |
| RGB | rgb(0 82 220) | |
| HSL | hsl(217.64 100% 43.14%) | |
| OKLCH | oklch(0.49 0.22 261.52) | |
| CMYK | cmyk(100% 62.73% 0% 13.73%) | |
| Android | #ff0052dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.24: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="#0052dc"
Gradient stop
<stop stop-color="#0052dc"/>
CSS variable + fill
:root { --c: #0052dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0052dc; background-color: #0052dc; bg-[#0052dc]