#4121ba
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 | #4121ba | |
| RGB | rgb(65 33 186) | |
| HSL | hsl(252.55 69.86% 42.94%) | |
| OKLCH | oklch(0.41 0.22 280.6) | |
| CMYK | cmyk(65.05% 82.26% 0% 27.06%) | |
| Android | #ff4121ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.15: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="#4121ba"
Gradient stop
<stop stop-color="#4121ba"/>
CSS variable + fill
:root { --c: #4121ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4121ba; background-color: #4121ba; bg-[#4121ba]