Skip to content
Vectorlight.net

#2d56af

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

HEX
#2d56af
RGB
45, 86, 175
HSL
221.08°, 59.09%, 43.14%
OKLCH
0.47 0.15 263.25
Names
—
Lists

Codes

FormatValue
HEX#2d56af
RGBrgb(45 86 175)
HSLhsl(221.08 59.09% 43.14%)
OKLCHoklch(0.47 0.15 263.25)
CMYKcmyk(74.29% 50.86% 0% 31.37%)
Android#ff2d56af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2d56af;
background-color: #2d56af;
bg-[#2d56af]