Skip to content
Vectorlight.net

#28405f

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

HEX
#28405f
RGB
40, 64, 95
HSL
213.82°, 40.74%, 26.47%
OKLCH
0.37 0.06 255.31
Names
—
Lists

Codes

FormatValue
HEX#28405f
RGBrgb(40 64 95)
HSLhsl(213.82 40.74% 26.47%)
OKLCHoklch(0.37 0.06 255.31)
CMYKcmyk(57.89% 32.63% 0% 62.75%)
Android#ff28405f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28405f;
background-color: #28405f;
bg-[#28405f]