#428fe4
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 | #428fe4 | |
| RGB | rgb(66 143 228) | |
| HSL | hsl(211.48 75% 57.65%) | |
| OKLCH | oklch(0.64 0.15 253.05) | |
| CMYK | cmyk(71.05% 37.28% 0% 10.59%) | |
| Android | #ff428fe4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.28: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="#428fe4"
Gradient stop
<stop stop-color="#428fe4"/>
CSS variable + fill
:root { --c: #428fe4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #428fe4; background-color: #428fe4; bg-[#428fe4]