#4874ba
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 | #4874ba | |
| RGB | rgb(72 116 186) | |
| HSL | hsl(216.84 45.24% 50.59%) | |
| OKLCH | oklch(0.56 0.12 259.31) | |
| CMYK | cmyk(61.29% 37.63% 0% 27.06%) | |
| Android | #ff4874ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#4874ba"
Gradient stop
<stop stop-color="#4874ba"/>
CSS variable + fill
:root { --c: #4874ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4874ba; background-color: #4874ba; bg-[#4874ba]