#5287c1
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 | #5287c1 | |
| RGB | rgb(82 135 193) | |
| HSL | hsl(211.35 47.23% 53.92%) | |
| OKLCH | oklch(0.61 0.11 251.88) | |
| CMYK | cmyk(57.51% 30.05% 0% 24.31%) | |
| Android | #ff5287c1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#5287c1"
Gradient stop
<stop stop-color="#5287c1"/>
CSS variable + fill
:root { --c: #5287c1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5287c1; background-color: #5287c1; bg-[#5287c1]