#628ec3
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 | #628ec3 | |
| RGB | rgb(98 142 195) | |
| HSL | hsl(212.78 44.7% 57.45%) | |
| OKLCH | oklch(0.64 0.09 253.7) | |
| CMYK | cmyk(49.74% 27.18% 0% 23.53%) | |
| Android | #ff628ec3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.17: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="#628ec3"
Gradient stop
<stop stop-color="#628ec3"/>
CSS variable + fill
:root { --c: #628ec3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #628ec3; background-color: #628ec3; bg-[#628ec3]