Skip to content
Vectorlight.net

#1278ff

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#1278ff
RGB
18, 120, 255
HSL
214.18°, 100%, 53.53%
OKLCH
0.6 0.22 258.59
Names
—
Lists

Codes

FormatValue
HEX#1278ff
RGBrgb(18 120 255)
HSLhsl(214.18 100% 53.53%)
OKLCHoklch(0.6 0.22 258.59)
CMYKcmyk(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

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#1278ff"
Gradient stop
<stop stop-color="#1278ff"/>
CSS variable + fill
:root { --c: #1278ff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1278ff;
background-color: #1278ff;
bg-[#1278ff]