Skip to content
Vectorlight.net

#1252ce

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

HEX
#1252ce
RGB
18, 82, 206
HSL
219.57°, 83.93%, 43.92%
OKLCH
0.48 0.2 261.97
Names
—
Lists

Codes

FormatValue
HEX#1252ce
RGBrgb(18 82 206)
HSLhsl(219.57 83.93% 43.92%)
OKLCHoklch(0.48 0.2 261.97)
CMYKcmyk(91.26% 60.19% 0% 19.22%)
Android#ff1252ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1252ce;
background-color: #1252ce;
bg-[#1252ce]