#225fe8
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 | #225fe8 | |
| RGB | rgb(34 95 232) | |
| HSL | hsl(221.52 81.15% 52.16%) | |
| OKLCH | oklch(0.54 0.22 263.03) | |
| CMYK | cmyk(85.34% 59.05% 0% 9.02%) | |
| Android | #ff225fe8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#225fe8"
Gradient stop
<stop stop-color="#225fe8"/>
CSS variable + fill
:root { --c: #225fe8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #225fe8; background-color: #225fe8; bg-[#225fe8]