Skip to content
Vectorlight.net

#1266ef

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

HEX
#1266ef
RGB
18, 102, 239
HSL
217.19°, 87.35%, 50.39%
OKLCH
0.55 0.22 260.67
Names
—
Lists

Codes

FormatValue
HEX#1266ef
RGBrgb(18 102 239)
HSLhsl(217.19 87.35% 50.39%)
OKLCHoklch(0.55 0.22 260.67)
CMYKcmyk(92.47% 57.32% 0% 6.27%)
Android#ff1266ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.03:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#1266ef"
Gradient stop
<stop stop-color="#1266ef"/>
CSS variable + fill
:root { --c: #1266ef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1266ef;
background-color: #1266ef;
bg-[#1266ef]