#668d9f
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 | #668d9f | |
| RGB | rgb(102 141 159) | |
| HSL | hsl(198.95 22.89% 51.18%) | |
| OKLCH | oklch(0.62 0.05 228.2) | |
| CMYK | cmyk(35.85% 11.32% 0% 37.65%) | |
| Android | #ff668d9f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.87: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="#668d9f"
Gradient stop
<stop stop-color="#668d9f"/>
CSS variable + fill
:root { --c: #668d9f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #668d9f; background-color: #668d9f; bg-[#668d9f]