#051985
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 | #051985 | |
| RGB | rgb(5 25 133) | |
| HSL | hsl(230.63 92.75% 27.06%) | |
| OKLCH | oklch(0.31 0.18 265.15) | |
| CMYK | cmyk(96.24% 81.2% 0% 47.84%) | |
| Android | #ff051985 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.48: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="#051985"
Gradient stop
<stop stop-color="#051985"/>
CSS variable + fill
:root { --c: #051985; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #051985; background-color: #051985; bg-[#051985]