#4874ce
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 | #4874ce | |
| RGB | rgb(72 116 206) | |
| HSL | hsl(220.3 57.76% 54.51%) | |
| OKLCH | oklch(0.57 0.15 262.97) | |
| CMYK | cmyk(65.05% 43.69% 0% 19.22%) | |
| Android | #ff4874ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66: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="#4874ce"
Gradient stop
<stop stop-color="#4874ce"/>
CSS variable + fill
:root { --c: #4874ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4874ce; background-color: #4874ce; bg-[#4874ce]