#768cbf
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 | #768cbf | |
| RGB | rgb(118 140 191) | |
| HSL | hsl(221.92 36.32% 60.59%) | |
| OKLCH | oklch(0.64 0.08 266.18) | |
| CMYK | cmyk(38.22% 26.7% 0% 25.1%) | |
| Android | #ff768cbf |
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.27: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="#768cbf"
Gradient stop
<stop stop-color="#768cbf"/>
CSS variable + fill
:root { --c: #768cbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #768cbf; background-color: #768cbf; bg-[#768cbf]