Skip to content
Vectorlight.net

#768afb

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

HEX
#768afb
RGB
118, 138, 251
HSL
230.98°, 94.33%, 72.35%
OKLCH
0.67 0.17 273.5
Names
—
Lists

Codes

FormatValue
HEX#768afb
RGBrgb(118 138 251)
HSLhsl(230.98 94.33% 72.35%)
OKLCHoklch(0.67 0.17 273.5)
CMYKcmyk(52.99% 45.02% 0% 1.57%)
Android#ff768afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #768afb;
background-color: #768afb;
bg-[#768afb]