Skip to content
Vectorlight.net

#4270fc

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

HEX
#4270fc
RGB
66, 112, 252
HSL
225.16°, 96.88%, 62.35%
OKLCH
0.59 0.21 266.12
Names
—
Lists

Codes

FormatValue
HEX#4270fc
RGBrgb(66 112 252)
HSLhsl(225.16 96.88% 62.35%)
OKLCHoklch(0.59 0.21 266.12)
CMYKcmyk(73.81% 55.56% 0% 1.18%)
Android#ff4270fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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