#028fcb
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 | #028fcb | |
| RGB | rgb(2 143 203) | |
| HSL | hsl(197.91 98.05% 40.2%) | |
| OKLCH | oklch(0.62 0.13 237.13) | |
| CMYK | cmyk(99.01% 29.56% 0% 20.39%) | |
| Android | #ff028fcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.79: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="#028fcb"
Gradient stop
<stop stop-color="#028fcb"/>
CSS variable + fill
:root { --c: #028fcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #028fcb; background-color: #028fcb; bg-[#028fcb]