#8ca4fe
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 | #8ca4fe | |
| RGB | rgb(140 164 254) | |
| HSL | hsl(227.37 98.28% 77.25%) | |
| OKLCH | oklch(0.74 0.13 271.48) | |
| CMYK | cmyk(44.88% 35.43% 0% 0.39%) | |
| Android | #ff8ca4fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.37:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.85: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="#8ca4fe"
Gradient stop
<stop stop-color="#8ca4fe"/>
CSS variable + fill
:root { --c: #8ca4fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8ca4fe; background-color: #8ca4fe; bg-[#8ca4fe]