Skip to content
Vectorlight.net

#4a6bfb

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

HEX
#4a6bfb
RGB
74, 107, 251
HSL
228.81°, 95.68%, 63.73%
OKLCH
0.59 0.22 268.87
Names
—
Lists

Codes

FormatValue
HEX#4a6bfb
RGBrgb(74 107 251)
HSLhsl(228.81 95.68% 63.73%)
OKLCHoklch(0.59 0.22 268.87)
CMYKcmyk(70.52% 57.37% 0% 1.57%)
Android#ff4a6bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4a6bfb;
background-color: #4a6bfb;
bg-[#4a6bfb]