Skip to content
Vectorlight.net

#768ccf

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

HEX
#768ccf
RGB
118, 140, 207
HSL
225.17°, 48.11%, 63.73%
OKLCH
0.65 0.1 269.51
Names
—
Lists

Codes

FormatValue
HEX#768ccf
RGBrgb(118 140 207)
HSLhsl(225.17 48.11% 63.73%)
OKLCHoklch(0.65 0.1 269.51)
CMYKcmyk(43% 32.37% 0% 18.82%)
Android#ff768ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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