#227f99
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 | #227f99 | |
| RGB | rgb(34 127 153) | |
| HSL | hsl(193.11 63.64% 36.67%) | |
| OKLCH | oklch(0.56 0.09 221.2) | |
| CMYK | cmyk(77.78% 16.99% 0% 40%) | |
| Android | #ff227f99 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass 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="#227f99"
Gradient stop
<stop stop-color="#227f99"/>
CSS variable + fill
:root { --c: #227f99; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #227f99; background-color: #227f99; bg-[#227f99]