#628cbf
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 | #628cbf | |
| RGB | rgb(98 140 191) | |
| HSL | hsl(212.9 42.08% 56.67%) | |
| OKLCH | oklch(0.63 0.09 253.85) | |
| CMYK | cmyk(48.69% 26.7% 0% 25.1%) | |
| Android | #ff628cbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.02: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="#628cbf"
Gradient stop
<stop stop-color="#628cbf"/>
CSS variable + fill
:root { --c: #628cbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #628cbf; background-color: #628cbf; bg-[#628cbf]