Skip to content
Vectorlight.net

#405187

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

HEX
#405187
RGB
64, 81, 135
HSL
225.63°, 35.68%, 39.02%
OKLCH
0.45 0.09 269.27
Names
—
Lists

Codes

FormatValue
HEX#405187
RGBrgb(64 81 135)
HSLhsl(225.63 35.68% 39.02%)
OKLCHoklch(0.45 0.09 269.27)
CMYKcmyk(52.59% 40% 0% 47.06%)
Android#ff405187

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #405187;
background-color: #405187;
bg-[#405187]