Skip to content
Vectorlight.net

#28557e

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

HEX
#28557e
RGB
40, 85, 126
HSL
208.6°, 51.81%, 32.55%
OKLCH
0.44 0.08 248.37
Names
—
Lists

Codes

FormatValue
HEX#28557e
RGBrgb(40 85 126)
HSLhsl(208.6 51.81% 32.55%)
OKLCHoklch(0.44 0.08 248.37)
CMYKcmyk(68.25% 32.54% 0% 50.59%)
Android#ff28557e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28557e;
background-color: #28557e;
bg-[#28557e]