#1278ff
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 | #1278ff | |
| RGB | rgb(18 120 255) | |
| HSL | hsl(214.18 100% 53.53%) | |
| OKLCH | oklch(0.6 0.22 258.59) | |
| CMYK | cmyk(92.94% 52.94% 0% 0%) | |
| Android | #ff1278ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.15: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="#1278ff"
Gradient stop
<stop stop-color="#1278ff"/>
CSS variable + fill
:root { --c: #1278ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1278ff; background-color: #1278ff; bg-[#1278ff]