Skip to content
Vectorlight.net

#28537d

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

HEX
#28537d
RGB
40, 83, 125
HSL
209.65°, 51.52%, 32.35%
OKLCH
0.43 0.08 249.92
Names
—
Lists

Codes

FormatValue
HEX#28537d
RGBrgb(40 83 125)
HSLhsl(209.65 51.52% 32.35%)
OKLCHoklch(0.43 0.08 249.92)
CMYKcmyk(68% 33.6% 0% 50.98%)
Android#ff28537d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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