#4873fc
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 | #4873fc | |
| RGB | rgb(72 115 252) | |
| HSL | hsl(225.67 96.77% 63.53%) | |
| OKLCH | oklch(0.6 0.21 266.76) | |
| CMYK | cmyk(71.43% 54.37% 0% 1.18%) | |
| Android | #ff4873fc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.13: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="#4873fc"
Gradient stop
<stop stop-color="#4873fc"/>
CSS variable + fill
:root { --c: #4873fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4873fc; background-color: #4873fc; bg-[#4873fc]