Skip to content
Vectorlight.net

#28457e

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

HEX
#28457e
RGB
40, 69, 126
HSL
219.77°, 51.81%, 32.55%
OKLCH
0.4 0.1 262.42
Names
—
Lists

Codes

FormatValue
HEX#28457e
RGBrgb(40 69 126)
HSLhsl(219.77 51.81% 32.55%)
OKLCHoklch(0.4 0.1 262.42)
CMYKcmyk(68.25% 45.24% 0% 50.59%)
Android#ff28457e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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