#768dcb
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 | #768dcb | |
| RGB | rgb(118 141 203) | |
| HSL | hsl(223.76 44.97% 62.94%) | |
| OKLCH | oklch(0.65 0.1 268.09) | |
| CMYK | cmyk(41.87% 30.54% 0% 20.39%) | |
| Android | #ff768dcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.44: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="#768dcb"
Gradient stop
<stop stop-color="#768dcb"/>
CSS variable + fill
:root { --c: #768dcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #768dcb; background-color: #768dcb; bg-[#768dcb]