Skip to content
Vectorlight.net

#2d2ccd

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

HEX
#2d2ccd
RGB
45, 44, 205
HSL
240.37°, 64.66%, 48.82%
OKLCH
0.43 0.23 271.11
Names
—
Lists

Codes

FormatValue
HEX#2d2ccd
RGBrgb(45 44 205)
HSLhsl(240.37 64.66% 48.82%)
OKLCHoklch(0.43 0.23 271.11)
CMYKcmyk(78.05% 78.54% 0% 19.61%)
Android#ff2d2ccd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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