Skip to content
Vectorlight.net

#4065ba

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

HEX
#4065ba
RGB
64, 101, 186
HSL
221.8°, 48.8%, 49.02%
OKLCH
0.52 0.14 264.39
Names
—
Lists

Codes

FormatValue
HEX#4065ba
RGBrgb(64 101 186)
HSLhsl(221.8 48.8% 49.02%)
OKLCHoklch(0.52 0.14 264.39)
CMYKcmyk(65.59% 45.7% 0% 27.06%)
Android#ff4065ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4065ba;
background-color: #4065ba;
bg-[#4065ba]