#2224cf
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 | #2224cf | |
| RGB | rgb(34 36 207) | |
| HSL | hsl(239.31 71.78% 47.25%) | |
| OKLCH | oklch(0.42 0.25 268.75) | |
| CMYK | cmyk(83.57% 82.61% 0% 18.82%) | |
| Android | #ff2224cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.22: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="#2224cf"
Gradient stop
<stop stop-color="#2224cf"/>
CSS variable + fill
:root { --c: #2224cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2224cf; background-color: #2224cf; bg-[#2224cf]