#062f88
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 | #062f88 | |
| RGB | rgb(6 47 136) | |
| HSL | hsl(221.08 91.55% 27.84%) | |
| OKLCH | oklch(0.35 0.15 262.68) | |
| CMYK | cmyk(95.59% 65.44% 0% 46.67%) | |
| Android | #ff062f88 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.76: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="#062f88"
Gradient stop
<stop stop-color="#062f88"/>
CSS variable + fill
:root { --c: #062f88; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #062f88; background-color: #062f88; bg-[#062f88]