#210ca8
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 | #210ca8 | |
| RGB | rgb(33 12 168) | |
| HSL | hsl(248.08 86.67% 35.29%) | |
| OKLCH | oklch(0.35 0.22 271.49) | |
| CMYK | cmyk(80.36% 92.86% 0% 34.12%) | |
| Android | #ff210ca8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.68: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="#210ca8"
Gradient stop
<stop stop-color="#210ca8"/>
CSS variable + fill
:root { --c: #210ca8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #210ca8; background-color: #210ca8; bg-[#210ca8]