#789fcf
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 | #789fcf | |
| RGB | rgb(120 159 207) | |
| HSL | hsl(213.1 47.54% 64.12%) | |
| OKLCH | oklch(0.69 0.08 254.01) | |
| CMYK | cmyk(42.03% 23.19% 0% 18.82%) | |
| Android | #ff789fcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.65: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="#789fcf"
Gradient stop
<stop stop-color="#789fcf"/>
CSS variable + fill
:root { --c: #789fcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #789fcf; background-color: #789fcf; bg-[#789fcf]