Skip to content
Vectorlight.net

#1276fb

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

HEX
#1276fb
RGB
18, 118, 251
HSL
214.25°, 96.68%, 52.75%
OKLCH
0.59 0.22 258.62
Names
—
Lists

Codes

FormatValue
HEX#1276fb
RGBrgb(18 118 251)
HSLhsl(214.25 96.68% 52.75%)
OKLCHoklch(0.59 0.22 258.62)
CMYKcmyk(92.83% 52.99% 0% 1.57%)
Android#ff1276fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01: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="#1276fb"
Gradient stop
<stop stop-color="#1276fb"/>
CSS variable + fill
:root { --c: #1276fb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1276fb;
background-color: #1276fb;
bg-[#1276fb]