Skip to content
Vectorlight.net

#628cab

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

HEX
#628cab
RGB
98, 140, 171
HSL
205.48°, 30.29%, 52.75%
OKLCH
0.62 0.07 241.1
Names
—
Lists

Codes

FormatValue
HEX#628cab
RGBrgb(98 140 171)
HSLhsl(205.48 30.29% 52.75%)
OKLCHoklch(0.62 0.07 241.1)
CMYKcmyk(42.69% 18.13% 0% 32.94%)
Android#ff628cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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