#4875f9
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 | #4875f9 | |
| RGB | rgb(72 117 249) | |
| HSL | hsl(224.75 93.65% 62.94%) | |
| OKLCH | oklch(0.6 0.2 266.18) | |
| CMYK | cmyk(71.08% 53.01% 0% 2.35%) | |
| Android | #ff4875f9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18: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="#4875f9"
Gradient stop
<stop stop-color="#4875f9"/>
CSS variable + fill
:root { --c: #4875f9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4875f9; background-color: #4875f9; bg-[#4875f9]