#056331
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 | #056331 | |
| RGB | rgb(5 99 49) | |
| HSL | hsl(148.09 90.38% 20.39%) | |
| OKLCH | oklch(0.44 0.11 152.15) | |
| CMYK | cmyk(94.95% 0% 50.51% 61.18%) | |
| Android | #ff056331 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.83: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="#056331"
Gradient stop
<stop stop-color="#056331"/>
CSS variable + fill
:root { --c: #056331; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #056331; background-color: #056331; bg-[#056331]