#0054df
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 | #0054df | |
| RGB | rgb(0 84 223) | |
| HSL | hsl(217.4 100% 43.73%) | |
| OKLCH | oklch(0.5 0.22 261.42) | |
| CMYK | cmyk(100% 62.33% 0% 12.55%) | |
| Android | #ff0054df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#0054df"
Gradient stop
<stop stop-color="#0054df"/>
CSS variable + fill
:root { --c: #0054df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0054df; background-color: #0054df; bg-[#0054df]