#1040bd
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 | #1040bd | |
| RGB | rgb(16 64 189) | |
| HSL | hsl(223.35 84.39% 40.2%) | |
| OKLCH | oklch(0.43 0.2 263.75) | |
| CMYK | cmyk(91.53% 66.14% 0% 25.88%) | |
| Android | #ff1040bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.49:1
Fail AA normal text
Fail 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="#1040bd"
Gradient stop
<stop stop-color="#1040bd"/>
CSS variable + fill
:root { --c: #1040bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1040bd; background-color: #1040bd; bg-[#1040bd]