#52879f
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 | #52879f | |
| RGB | rgb(82 135 159) | |
| HSL | hsl(198.7 31.95% 47.25%) | |
| OKLCH | oklch(0.6 0.07 228.68) | |
| CMYK | cmyk(48.43% 15.09% 0% 37.65%) | |
| Android | #ff52879f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.94:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.32: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="#52879f"
Gradient stop
<stop stop-color="#52879f"/>
CSS variable + fill
:root { --c: #52879f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52879f; background-color: #52879f; bg-[#52879f]