#048cff
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 | #048cff | |
| RGB | rgb(4 140 255) | |
| HSL | hsl(207.49 100% 50.78%) | |
| OKLCH | oklch(0.64 0.2 253.11) | |
| CMYK | cmyk(98.43% 45.1% 0% 0%) | |
| Android | #ff048cff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.20: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="#048cff"
Gradient stop
<stop stop-color="#048cff"/>
CSS variable + fill
:root { --c: #048cff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #048cff; background-color: #048cff; bg-[#048cff]