#514dbc
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 | #514dbc | |
| RGB | rgb(81 77 188) | |
| HSL | hsl(242.16 45.31% 51.96%) | |
| OKLCH | oklch(0.49 0.17 279.69) | |
| CMYK | cmyk(56.91% 59.04% 0% 26.27%) | |
| Android | #ff514dbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#514dbc"
Gradient stop
<stop stop-color="#514dbc"/>
CSS variable + fill
:root { --c: #514dbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #514dbc; background-color: #514dbc; bg-[#514dbc]