Skip to content
Vectorlight.net

#28477c

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

HEX
#28477c
RGB
40, 71, 124
HSL
217.86°, 51.22%, 32.16%
OKLCH
0.4 0.1 260.44
Names
—
Lists

Codes

FormatValue
HEX#28477c
RGBrgb(40 71 124)
HSLhsl(217.86 51.22% 32.16%)
OKLCHoklch(0.4 0.1 260.44)
CMYKcmyk(67.74% 42.74% 0% 51.37%)
Android#ff28477c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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