Skip to content
Vectorlight.net

#668ccb

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

HEX
#668ccb
RGB
102, 140, 203
HSL
217.43°, 49.27%, 59.8%
OKLCH
0.64 0.1 260.16
Names
—
Lists

Codes

FormatValue
HEX#668ccb
RGBrgb(102 140 203)
HSLhsl(217.43 49.27% 59.8%)
OKLCHoklch(0.64 0.1 260.16)
CMYKcmyk(49.75% 31.03% 0% 20.39%)
Android#ff668ccb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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