Skip to content
Vectorlight.net

#28879d

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

HEX
#28879d
RGB
40, 135, 157
HSL
191.28°, 59.39%, 38.63%
OKLCH
0.58 0.09 216.87
Names
—
Lists

Codes

FormatValue
HEX#28879d
RGBrgb(40 135 157)
HSLhsl(191.28 59.39% 38.63%)
OKLCHoklch(0.58 0.09 216.87)
CMYKcmyk(74.52% 14.01% 0% 38.43%)
Android#ff28879d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28879d;
background-color: #28879d;
bg-[#28879d]