#1256bd
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 | #1256bd | |
| RGB | rgb(18 86 189) | |
| HSL | hsl(216.14 82.61% 40.59%) | |
| OKLCH | oklch(0.48 0.17 259.62) | |
| CMYK | cmyk(90.48% 54.5% 0% 25.88%) | |
| Android | #ff1256bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.09: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="#1256bd"
Gradient stop
<stop stop-color="#1256bd"/>
CSS variable + fill
:root { --c: #1256bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1256bd; background-color: #1256bd; bg-[#1256bd]