Skip to content
Vectorlight.net

#4a7cbb

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

HEX
#4a7cbb
RGB
74, 124, 187
HSL
213.45°, 45.38%, 51.18%
OKLCH
0.58 0.11 254.99
Names
—
Lists

Codes

FormatValue
HEX#4a7cbb
RGBrgb(74 124 187)
HSLhsl(213.45 45.38% 51.18%)
OKLCHoklch(0.58 0.11 254.99)
CMYKcmyk(60.43% 33.69% 0% 26.67%)
Android#ff4a7cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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