Skip to content
Vectorlight.net

#6873ef

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

HEX
#6873ef
RGB
104, 115, 239
HSL
235.11°, 80.84%, 67.25%
OKLCH
0.61 0.18 275.7
Names
—
Lists

Codes

FormatValue
HEX#6873ef
RGBrgb(104 115 239)
HSLhsl(235.11 80.84% 67.25%)
OKLCHoklch(0.61 0.18 275.7)
CMYKcmyk(56.49% 51.88% 0% 6.27%)
Android#ff6873ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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