Skip to content
Vectorlight.net

#0786bc

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

HEX
#0786bc
RGB
7, 134, 188
HSL
197.9°, 92.82%, 38.24%
OKLCH
0.59 0.12 236.14
Names
—
Lists

Codes

FormatValue
HEX#0786bc
RGBrgb(7 134 188)
HSLhsl(197.9 92.82% 38.24%)
OKLCHoklch(0.59 0.12 236.14)
CMYKcmyk(96.28% 28.72% 0% 26.27%)
Android#ff0786bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0786bc;
background-color: #0786bc;
bg-[#0786bc]