#408dfc
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 | #408dfc | |
| RGB | rgb(64 141 252) | |
| HSL | hsl(215.43 96.91% 61.96%) | |
| OKLCH | oklch(0.65 0.18 257.99) | |
| CMYK | cmyk(74.6% 44.05% 0% 1.18%) | |
| Android | #ff408dfc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.43: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="#408dfc"
Gradient stop
<stop stop-color="#408dfc"/>
CSS variable + fill
:root { --c: #408dfc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #408dfc; background-color: #408dfc; bg-[#408dfc]