Skip to content
Vectorlight.net

#4097ff

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

HEX
#4097ff
RGB
64, 151, 255
HSL
212.67°, 100%, 62.55%
OKLCH
0.67 0.17 254.93
Names
—
Lists

Codes

FormatValue
HEX#4097ff
RGBrgb(64 151 255)
HSLhsl(212.67 100% 62.55%)
OKLCHoklch(0.67 0.17 254.93)
CMYKcmyk(74.9% 40.78% 0% 0%)
Android#ff4097ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.96:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.08:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#4097ff"
Gradient stop
<stop stop-color="#4097ff"/>
CSS variable + fill
:root { --c: #4097ff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #4097ff;
background-color: #4097ff;
bg-[#4097ff]