#045abf
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 | #045abf | |
| RGB | rgb(4 90 191) | |
| HSL | hsl(212.41 95.9% 38.24%) | |
| OKLCH | oklch(0.49 0.17 257.61) | |
| CMYK | cmyk(97.91% 52.88% 0% 25.1%) | |
| Android | #ff045abf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.21: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="#045abf"
Gradient stop
<stop stop-color="#045abf"/>
CSS variable + fill
:root { --c: #045abf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #045abf; background-color: #045abf; bg-[#045abf]