Skip to content
Vectorlight.net

#6174eb

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

HEX
#6174eb
RGB
97, 116, 235
HSL
231.74°, 77.53%, 65.1%
OKLCH
0.61 0.18 273.06
Names
—
Lists

Codes

FormatValue
HEX#6174eb
RGBrgb(97 116 235)
HSLhsl(231.74 77.53% 65.1%)
OKLCHoklch(0.61 0.18 273.06)
CMYKcmyk(58.72% 50.64% 0% 7.84%)
Android#ff6174eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6174eb;
background-color: #6174eb;
bg-[#6174eb]