Skip to content
Vectorlight.net

#6870cd

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

HEX
#6870cd
RGB
104, 112, 205
HSL
235.25°, 50.25%, 60.59%
OKLCH
0.58 0.14 277.36
Names
—
Lists

Codes

FormatValue
HEX#6870cd
RGBrgb(104 112 205)
HSLhsl(235.25 50.25% 60.59%)
OKLCHoklch(0.58 0.14 277.36)
CMYKcmyk(49.27% 45.37% 0% 19.61%)
Android#ff6870cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6870cd;
background-color: #6870cd;
bg-[#6870cd]