Skip to content
Vectorlight.net

#28709c

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

HEX
#28709c
RGB
40, 112, 156
HSL
202.76°, 59.18%, 38.43%
OKLCH
0.52 0.1 239.73
Names
—
Lists

Codes

FormatValue
HEX#28709c
RGBrgb(40 112 156)
HSLhsl(202.76 59.18% 38.43%)
OKLCHoklch(0.52 0.1 239.73)
CMYKcmyk(74.36% 28.21% 0% 38.82%)
Android#ff28709c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28709c;
background-color: #28709c;
bg-[#28709c]