#4331ab
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 | #4331ab | |
| RGB | rgb(67 49 171) | |
| HSL | hsl(248.85 55.45% 43.14%) | |
| OKLCH | oklch(0.42 0.18 281.58) | |
| CMYK | cmyk(60.82% 71.35% 0% 32.94%) | |
| Android | #ff4331ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.26: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="#4331ab"
Gradient stop
<stop stop-color="#4331ab"/>
CSS variable + fill
:root { --c: #4331ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4331ab; background-color: #4331ab; bg-[#4331ab]