#227b78
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 | #227b78 | |
| RGB | rgb(34 123 120) | |
| HSL | hsl(177.98 56.69% 30.78%) | |
| OKLCH | oklch(0.53 0.08 191.68) | |
| CMYK | cmyk(72.36% 0% 2.44% 51.76%) | |
| Android | #ff227b78 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.03:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17:1
Fail AA normal text
Pass 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="#227b78"
Gradient stop
<stop stop-color="#227b78"/>
CSS variable + fill
:root { --c: #227b78; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #227b78; background-color: #227b78; bg-[#227b78]