Skip to content
Vectorlight.net

#646fab

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

HEX
#646fab
RGB
100, 111, 171
HSL
230.7°, 29.71%, 53.14%
OKLCH
0.56 0.09 275.03
Names
—
Lists

Codes

FormatValue
HEX#646fab
RGBrgb(100 111 171)
HSLhsl(230.7 29.71% 53.14%)
OKLCHoklch(0.56 0.09 275.03)
CMYKcmyk(41.52% 35.09% 0% 32.94%)
Android#ff646fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#646fab"
Gradient stop
<stop stop-color="#646fab"/>
CSS variable + fill
:root { --c: #646fab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #646fab;
background-color: #646fab;
bg-[#646fab]