#508beb
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 | #508beb | |
| RGB | rgb(80 139 235) | |
| HSL | hsl(217.16 79.49% 61.76%) | |
| OKLCH | oklch(0.64 0.16 259.67) | |
| CMYK | cmyk(65.96% 40.85% 0% 7.84%) | |
| Android | #ff508beb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23: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="#508beb"
Gradient stop
<stop stop-color="#508beb"/>
CSS variable + fill
:root { --c: #508beb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508beb; background-color: #508beb; bg-[#508beb]