Skip to content
Vectorlight.net

#1152fc

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

HEX
#1152fc
RGB
17, 82, 252
HSL
223.4°, 97.51%, 52.75%
OKLCH
0.53 0.26 263.67
Names
—
Lists

Codes

FormatValue
HEX#1152fc
RGBrgb(17 82 252)
HSLhsl(223.4 97.51% 52.75%)
OKLCHoklch(0.53 0.26 263.67)
CMYKcmyk(93.25% 67.46% 0% 1.18%)
Android#ff1152fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1152fc;
background-color: #1152fc;
bg-[#1152fc]