#05049f
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 | #05049f | |
| RGB | rgb(5 4 159) | |
| HSL | hsl(240.39 95.09% 31.96%) | |
| OKLCH | oklch(0.32 0.22 265.03) | |
| CMYK | cmyk(96.86% 97.48% 0% 37.65%) | |
| Android | #ff05049f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.52: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="#05049f"
Gradient stop
<stop stop-color="#05049f"/>
CSS variable + fill
:root { --c: #05049f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #05049f; background-color: #05049f; bg-[#05049f]