#004fcf
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 | #004fcf | |
| RGB | rgb(0 79 207) | |
| HSL | hsl(217.1 100% 40.59%) | |
| OKLCH | oklch(0.48 0.21 261.18) | |
| CMYK | cmyk(100% 61.84% 0% 18.82%) | |
| Android | #ff004fcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.01: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="#004fcf"
Gradient stop
<stop stop-color="#004fcf"/>
CSS variable + fill
:root { --c: #004fcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #004fcf; background-color: #004fcf; bg-[#004fcf]