#158cdf
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 | #158cdf | |
| RGB | rgb(21 140 223) | |
| HSL | hsl(204.65 82.79% 47.84%) | |
| OKLCH | oklch(0.62 0.16 246.89) | |
| CMYK | cmyk(90.58% 37.22% 0% 12.55%) | |
| Android | #ff158cdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.59:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.84: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="#158cdf"
Gradient stop
<stop stop-color="#158cdf"/>
CSS variable + fill
:root { --c: #158cdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #158cdf; background-color: #158cdf; bg-[#158cdf]