#015fd8
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 | #015fd8 | |
| RGB | rgb(1 95 216) | |
| HSL | hsl(213.77 99.08% 42.55%) | |
| OKLCH | oklch(0.52 0.2 259.11) | |
| CMYK | cmyk(99.54% 56.02% 0% 15.29%) | |
| Android | #ff015fd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#015fd8"
Gradient stop
<stop stop-color="#015fd8"/>
CSS variable + fill
:root { --c: #015fd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #015fd8; background-color: #015fd8; bg-[#015fd8]