Skip to content
Vectorlight.net

#6398ec

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

HEX
#6398ec
RGB
99, 152, 236
HSL
216.79°, 78.29%, 65.69%
OKLCH
0.68 0.14 259.26
Names
—
Lists

Codes

FormatValue
HEX#6398ec
RGBrgb(99 152 236)
HSLhsl(216.79 78.29% 65.69%)
OKLCHoklch(0.68 0.14 259.26)
CMYKcmyk(58.05% 35.59% 0% 7.45%)
Android#ff6398ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6398ec;
background-color: #6398ec;
bg-[#6398ec]