Skip to content
Vectorlight.net

#8798bf

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

HEX
#8798bf
RGB
135, 152, 191
HSL
221.79°, 30.43%, 63.92%
OKLCH
0.68 0.06 266.4
Names
—
Lists

Codes

FormatValue
HEX#8798bf
RGBrgb(135 152 191)
HSLhsl(221.79 30.43% 63.92%)
OKLCHoklch(0.68 0.06 266.4)
CMYKcmyk(29.32% 20.42% 0% 25.1%)
Android#ff8798bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8798bf;
background-color: #8798bf;
bg-[#8798bf]