Skip to content
Vectorlight.net

#0878aa

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

HEX
#0878aa
RGB
8, 120, 170
HSL
198.52°, 91.01%, 34.9%
OKLCH
0.54 0.12 236.89
Names
—
Lists

Codes

FormatValue
HEX#0878aa
RGBrgb(8 120 170)
HSLhsl(198.52 91.01% 34.9%)
OKLCHoklch(0.54 0.12 236.89)
CMYKcmyk(95.29% 29.41% 0% 33.33%)
Android#ff0878aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#0878aa"
Gradient stop
<stop stop-color="#0878aa"/>
CSS variable + fill
:root { --c: #0878aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0878aa;
background-color: #0878aa;
bg-[#0878aa]