Skip to content
Vectorlight.net

#28759d

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

HEX
#28759d
RGB
40, 117, 157
HSL
200.51°, 59.39%, 38.63%
OKLCH
0.53 0.1 235.64
Names
—
Lists

Codes

FormatValue
HEX#28759d
RGBrgb(40 117 157)
HSLhsl(200.51 59.39% 38.63%)
OKLCHoklch(0.53 0.1 235.64)
CMYKcmyk(74.52% 25.48% 0% 38.43%)
Android#ff28759d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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