Skip to content
Vectorlight.net

#4064ab

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

HEX
#4064ab
RGB
64, 100, 171
HSL
219.81°, 45.53%, 46.08%
OKLCH
0.51 0.12 262.62
Names
—
Lists

Codes

FormatValue
HEX#4064ab
RGBrgb(64 100 171)
HSLhsl(219.81 45.53% 46.08%)
OKLCHoklch(0.51 0.12 262.62)
CMYKcmyk(62.57% 41.52% 0% 32.94%)
Android#ff4064ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4064ab;
background-color: #4064ab;
bg-[#4064ab]