#768cf0
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 | #768cf0 | |
| RGB | rgb(118 140 240) | |
| HSL | hsl(229.18 80.26% 70.2%) | |
| OKLCH | oklch(0.67 0.15 272.4) | |
| CMYK | cmyk(50.83% 41.67% 0% 5.88%) | |
| Android | #ff768cf0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.77: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="#768cf0"
Gradient stop
<stop stop-color="#768cf0"/>
CSS variable + fill
:root { --c: #768cf0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #768cf0; background-color: #768cf0; bg-[#768cf0]