#545ec3
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 | #545ec3 | |
| RGB | rgb(84 94 195) | |
| HSL | hsl(234.59 48.05% 54.71%) | |
| OKLCH | oklch(0.53 0.16 275.44) | |
| CMYK | cmyk(56.92% 51.79% 0% 23.53%) | |
| Android | #ff545ec3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.76: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="#545ec3"
Gradient stop
<stop stop-color="#545ec3"/>
CSS variable + fill
:root { --c: #545ec3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #545ec3; background-color: #545ec3; bg-[#545ec3]