Skip to content
Vectorlight.net

#6871dc

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

HEX
#6871dc
RGB
104, 113, 220
HSL
235.34°, 62.37%, 63.53%
OKLCH
0.59 0.16 276.71
Names
—
Lists

Codes

FormatValue
HEX#6871dc
RGBrgb(104 113 220)
HSLhsl(235.34 62.37% 63.53%)
OKLCHoklch(0.59 0.16 276.71)
CMYKcmyk(52.73% 48.64% 0% 13.73%)
Android#ff6871dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6871dc;
background-color: #6871dc;
bg-[#6871dc]