Skip to content
Vectorlight.net

#4731bc

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

HEX
#4731bc
RGB
71, 49, 188
HSL
249.5°, 58.65%, 46.47%
OKLCH
0.44 0.2 281.02
Names
—
Lists

Codes

FormatValue
HEX#4731bc
RGBrgb(71 49 188)
HSLhsl(249.5 58.65% 46.47%)
OKLCHoklch(0.44 0.2 281.02)
CMYKcmyk(62.23% 73.94% 0% 26.27%)
Android#ff4731bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4731bc;
background-color: #4731bc;
bg-[#4731bc]