#052d5f
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 | #052d5f | |
| RGB | rgb(5 45 95) | |
| HSL | hsl(213.33 90% 19.61%) | |
| OKLCH | oklch(0.3 0.1 256.78) | |
| CMYK | cmyk(94.74% 52.63% 0% 62.75%) | |
| Android | #ff052d5f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54:1
Fail AA normal text
Fail 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="#052d5f"
Gradient stop
<stop stop-color="#052d5f"/>
CSS variable + fill
:root { --c: #052d5f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #052d5f; background-color: #052d5f; bg-[#052d5f]