Skip to content
Vectorlight.net

#6872ef

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

HEX
#6872ef
RGB
104, 114, 239
HSL
235.56°, 80.84%, 67.25%
OKLCH
0.61 0.19 275.97
Names
—
Lists

Codes

FormatValue
HEX#6872ef
RGBrgb(104 114 239)
HSLhsl(235.56 80.84% 67.25%)
OKLCHoklch(0.61 0.19 275.97)
CMYKcmyk(56.49% 52.3% 0% 6.27%)
Android#ff6872ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6872ef;
background-color: #6872ef;
bg-[#6872ef]