#406ccf
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 | #406ccf | |
| RGB | rgb(64 108 207) | |
| HSL | hsl(221.54 59.83% 53.14%) | |
| OKLCH | oklch(0.55 0.16 263.89) | |
| CMYK | cmyk(69.08% 47.83% 0% 18.82%) | |
| Android | #ff406ccf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#406ccf"
Gradient stop
<stop stop-color="#406ccf"/>
CSS variable + fill
:root { --c: #406ccf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #406ccf; background-color: #406ccf; bg-[#406ccf]