#225cd6
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 | #225cd6 | |
| RGB | rgb(34 92 214) | |
| HSL | hsl(220.67 72.58% 48.63%) | |
| OKLCH | oklch(0.51 0.2 262.55) | |
| CMYK | cmyk(84.11% 57.01% 0% 16.08%) | |
| Android | #ff225cd6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.56: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="#225cd6"
Gradient stop
<stop stop-color="#225cd6"/>
CSS variable + fill
:root { --c: #225cd6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #225cd6; background-color: #225cd6; bg-[#225cd6]