#4161cb
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 | #4161cb | |
| RGB | rgb(65 97 203) | |
| HSL | hsl(226.09 57.02% 52.55%) | |
| OKLCH | oklch(0.53 0.17 267.63) | |
| CMYK | cmyk(67.98% 52.22% 0% 20.39%) | |
| Android | #ff4161cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.79:1
Fail AA normal text
Pass 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="#4161cb"
Gradient stop
<stop stop-color="#4161cb"/>
CSS variable + fill
:root { --c: #4161cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4161cb; background-color: #4161cb; bg-[#4161cb]