#98afef
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 | #98afef | |
| RGB | rgb(152 175 239) | |
| HSL | hsl(224.14 73.11% 76.67%) | |
| OKLCH | oklch(0.76 0.1 268.84) | |
| CMYK | cmyk(36.4% 26.78% 0% 6.27%) | |
| Android | #ff98afef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.71: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="#98afef"
Gradient stop
<stop stop-color="#98afef"/>
CSS variable + fill
:root { --c: #98afef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #98afef; background-color: #98afef; bg-[#98afef]