Skip to content
Vectorlight.net

#2d416d

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

HEX
#2d416d
RGB
45, 65, 109
HSL
221.25°, 41.56%, 30.2%
OKLCH
0.38 0.08 264.46
Names
—
Lists

Codes

FormatValue
HEX#2d416d
RGBrgb(45 65 109)
HSLhsl(221.25 41.56% 30.2%)
OKLCHoklch(0.38 0.08 264.46)
CMYKcmyk(58.72% 40.37% 0% 57.25%)
Android#ff2d416d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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