#7997ba
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 | #7997ba | |
| RGB | rgb(121 151 186) | |
| HSL | hsl(212.31 32.02% 60.2%) | |
| OKLCH | oklch(0.67 0.06 252.61) | |
| CMYK | cmyk(34.95% 18.82% 0% 27.06%) | |
| Android | #ff7997ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.94: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="#7997ba"
Gradient stop
<stop stop-color="#7997ba"/>
CSS variable + fill
:root { --c: #7997ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7997ba; background-color: #7997ba; bg-[#7997ba]