#545ecd
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 | #545ecd | |
| RGB | rgb(84 94 205) | |
| HSL | hsl(235.04 54.75% 56.67%) | |
| OKLCH | oklch(0.53 0.17 275.2) | |
| CMYK | cmyk(59.02% 54.15% 0% 19.61%) | |
| Android | #ff545ecd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.85: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="#545ecd"
Gradient stop
<stop stop-color="#545ecd"/>
CSS variable + fill
:root { --c: #545ecd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #545ecd; background-color: #545ecd; bg-[#545ecd]