#408dbf
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 | #408dbf | |
| RGB | rgb(64 141 191) | |
| HSL | hsl(203.62 49.8% 50%) | |
| OKLCH | oklch(0.62 0.11 240.18) | |
| CMYK | cmyk(66.49% 26.18% 0% 25.1%) | |
| Android | #ff408dbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#408dbf"
Gradient stop
<stop stop-color="#408dbf"/>
CSS variable + fill
:root { --c: #408dbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #408dbf; background-color: #408dbf; bg-[#408dbf]