Skip to content
Vectorlight.net

#628afb

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

HEX
#628afb
RGB
98, 138, 251
HSL
224.31°, 95.03%, 68.43%
OKLCH
0.66 0.17 266.95
Names
—
Lists

Codes

FormatValue
HEX#628afb
RGBrgb(98 138 251)
HSLhsl(224.31 95.03% 68.43%)
OKLCHoklch(0.66 0.17 266.95)
CMYKcmyk(60.96% 45.02% 0% 1.57%)
Android#ff628afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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