Skip to content
Vectorlight.net

#6797ff

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

HEX
#6797ff
RGB
103, 151, 255
HSL
221.05°, 100%, 70.2%
OKLCH
0.69 0.16 263.97
Names
—
Lists

Codes

FormatValue
HEX#6797ff
RGBrgb(103 151 255)
HSLhsl(221.05 100% 70.2%)
OKLCHoklch(0.69 0.16 263.97)
CMYKcmyk(59.61% 40.78% 0% 0%)
Android#ff6797ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6797ff;
background-color: #6797ff;
bg-[#6797ff]