Skip to content
Vectorlight.net

#4271af

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

HEX
#4271af
RGB
66, 113, 175
HSL
214.13°, 45.23%, 47.25%
OKLCH
0.54 0.11 255.94
Names
—
Lists

Codes

FormatValue
HEX#4271af
RGBrgb(66 113 175)
HSLhsl(214.13 45.23% 47.25%)
OKLCHoklch(0.54 0.11 255.94)
CMYKcmyk(62.29% 35.43% 0% 31.37%)
Android#ff4271af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4271af;
background-color: #4271af;
bg-[#4271af]