#0287d7
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 | #0287d7 | |
| RGB | rgb(2 135 215) | |
| HSL | hsl(202.54 98.16% 42.55%) | |
| OKLCH | oklch(0.6 0.15 245.89) | |
| CMYK | cmyk(99.07% 37.21% 0% 15.69%) | |
| Android | #ff0287d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.85:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.44: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="#0287d7"
Gradient stop
<stop stop-color="#0287d7"/>
CSS variable + fill
:root { --c: #0287d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0287d7; background-color: #0287d7; bg-[#0287d7]