#3c51ea
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 | #3c51ea | |
| RGB | rgb(60 81 234) | |
| HSL | hsl(232.76 80.56% 57.65%) | |
| OKLCH | oklch(0.52 0.23 269.99) | |
| CMYK | cmyk(74.36% 65.38% 0% 8.24%) | |
| Android | #ff3c51ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#3c51ea"
Gradient stop
<stop stop-color="#3c51ea"/>
CSS variable + fill
:root { --c: #3c51ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3c51ea; background-color: #3c51ea; bg-[#3c51ea]