#148ed5
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 | #148ed5 | |
| RGB | rgb(20 142 213) | |
| HSL | hsl(202.07 82.83% 45.69%) | |
| OKLCH | oklch(0.62 0.14 242.61) | |
| CMYK | cmyk(90.61% 33.33% 0% 16.47%) | |
| Android | #ff148ed5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#148ed5"
Gradient stop
<stop stop-color="#148ed5"/>
CSS variable + fill
:root { --c: #148ed5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #148ed5; background-color: #148ed5; bg-[#148ed5]