#5374db
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 | #5374db | |
| RGB | rgb(83 116 219) | |
| HSL | hsl(225.44 65.38% 59.22%) | |
| OKLCH | oklch(0.59 0.16 267.84) | |
| CMYK | cmyk(62.1% 47.03% 0% 14.12%) | |
| Android | #ff5374db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88: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="#5374db"
Gradient stop
<stop stop-color="#5374db"/>
CSS variable + fill
:root { --c: #5374db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5374db; background-color: #5374db; bg-[#5374db]