Skip to content
Vectorlight.net

#3d54ab

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

HEX
#3d54ab
RGB
61, 84, 171
HSL
227.45°, 47.41%, 45.49%
OKLCH
0.48 0.14 269.27
Names
—
Lists

Codes

FormatValue
HEX#3d54ab
RGBrgb(61 84 171)
HSLhsl(227.45 47.41% 45.49%)
OKLCHoklch(0.48 0.14 269.27)
CMYKcmyk(64.33% 50.88% 0% 32.94%)
Android#ff3d54ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3d54ab;
background-color: #3d54ab;
bg-[#3d54ab]