#1271ba
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 | #1271ba | |
| RGB | rgb(18 113 186) | |
| HSL | hsl(206.07 82.35% 40%) | |
| OKLCH | oklch(0.54 0.14 248.67) | |
| CMYK | cmyk(90.32% 39.25% 0% 27.06%) | |
| Android | #ff1271ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.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="#1271ba"
Gradient stop
<stop stop-color="#1271ba"/>
CSS variable + fill
:root { --c: #1271ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1271ba; background-color: #1271ba; bg-[#1271ba]