#514fce
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 | #514fce | |
| RGB | rgb(81 79 206) | |
| HSL | hsl(240.94 56.44% 55.88%) | |
| OKLCH | oklch(0.51 0.19 277.82) | |
| CMYK | cmyk(60.68% 61.65% 0% 19.22%) | |
| Android | #ff514fce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.25:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.35: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="#514fce"
Gradient stop
<stop stop-color="#514fce"/>
CSS variable + fill
:root { --c: #514fce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #514fce; background-color: #514fce; bg-[#514fce]