#4161ad
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 | #4161ad | |
| RGB | rgb(65 97 173) | |
| HSL | hsl(222.22 45.38% 46.67%) | |
| OKLCH | oklch(0.51 0.13 265.04) | |
| CMYK | cmyk(62.43% 43.93% 0% 32.16%) | |
| Android | #ff4161ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.53: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="#4161ad"
Gradient stop
<stop stop-color="#4161ad"/>
CSS variable + fill
:root { --c: #4161ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4161ad; background-color: #4161ad; bg-[#4161ad]