Skip to content
Vectorlight.net

#628ccb

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

HEX
#628ccb
RGB
98, 140, 203
HSL
216°, 50.24%, 59.02%
OKLCH
0.64 0.11 258.28
Names
—
Lists

Codes

FormatValue
HEX#628ccb
RGBrgb(98 140 203)
HSLhsl(216 50.24% 59.02%)
OKLCHoklch(0.64 0.11 258.28)
CMYKcmyk(51.72% 31.03% 0% 20.39%)
Android#ff628ccb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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