#515dc8
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 | #515dc8 | |
| RGB | rgb(81 93 200) | |
| HSL | hsl(233.95 51.97% 55.1%) | |
| OKLCH | oklch(0.53 0.16 274.45) | |
| CMYK | cmyk(59.5% 53.5% 0% 21.57%) | |
| Android | #ff515dc8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.74: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="#515dc8"
Gradient stop
<stop stop-color="#515dc8"/>
CSS variable + fill
:root { --c: #515dc8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #515dc8; background-color: #515dc8; bg-[#515dc8]