Skip to content
Vectorlight.net

#628cfe

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

HEX
#628cfe
RGB
98, 140, 254
HSL
223.85°, 98.73%, 69.02%
OKLCH
0.67 0.18 266.49
Names
—
Lists

Codes

FormatValue
HEX#628cfe
RGBrgb(98 140 254)
HSLhsl(223.85 98.73% 69.02%)
OKLCHoklch(0.67 0.18 266.49)
CMYKcmyk(61.42% 44.88% 0% 0.39%)
Android#ff628cfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #628cfe;
background-color: #628cfe;
bg-[#628cfe]