#024abc
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 | #024abc | |
| RGB | rgb(2 74 188) | |
| HSL | hsl(216.77 97.89% 37.25%) | |
| OKLCH | oklch(0.45 0.19 260.82) | |
| CMYK | cmyk(98.94% 60.64% 0% 26.27%) | |
| Android | #ff024abc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.70:1
Fail AA normal text
Fail 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="#024abc"
Gradient stop
<stop stop-color="#024abc"/>
CSS variable + fill
:root { --c: #024abc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #024abc; background-color: #024abc; bg-[#024abc]