Skip to content
Vectorlight.net

#628ceb

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

HEX
#628ceb
RGB
98, 140, 235
HSL
221.61°, 77.4%, 65.29%
OKLCH
0.65 0.15 264.63
Names
—
Lists

Codes

FormatValue
HEX#628ceb
RGBrgb(98 140 235)
HSLhsl(221.61 77.4% 65.29%)
OKLCHoklch(0.65 0.15 264.63)
CMYKcmyk(58.3% 40.43% 0% 7.84%)
Android#ff628ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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