#408beb
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 | #408beb | |
| RGB | rgb(64 139 235) | |
| HSL | hsl(213.68 81.04% 58.63%) | |
| OKLCH | oklch(0.64 0.16 255.94) | |
| CMYK | cmyk(72.77% 40.85% 0% 7.84%) | |
| Android | #ff408beb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.11: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="#408beb"
Gradient stop
<stop stop-color="#408beb"/>
CSS variable + fill
:root { --c: #408beb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #408beb; background-color: #408beb; bg-[#408beb]