#0022ca
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 | #0022ca | |
| RGB | rgb(0 34 202) | |
| HSL | hsl(229.9 100% 39.61%) | |
| OKLCH | oklch(0.4 0.25 264.18) | |
| CMYK | cmyk(100% 83.17% 0% 20.78%) | |
| Android | #ff0022ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.08: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="#0022ca"
Gradient stop
<stop stop-color="#0022ca"/>
CSS variable + fill
:root { --c: #0022ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0022ca; background-color: #0022ca; bg-[#0022ca]