#4150da
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 | #4150da | |
| RGB | rgb(65 80 218) | |
| HSL | hsl(234.12 67.4% 55.49%) | |
| OKLCH | oklch(0.51 0.21 271.79) | |
| CMYK | cmyk(70.18% 63.3% 0% 14.51%) | |
| Android | #ff4150da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.38: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="#4150da"
Gradient stop
<stop stop-color="#4150da"/>
CSS variable + fill
:root { --c: #4150da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4150da; background-color: #4150da; bg-[#4150da]