Skip to content
Vectorlight.net

#211d7d

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

HEX
#211d7d
RGB
33, 29, 125
HSL
242.5°, 62.34%, 30.2%
OKLCH
0.31 0.15 274.7
Names
—
Lists

Codes

FormatValue
HEX#211d7d
RGBrgb(33 29 125)
HSLhsl(242.5 62.34% 30.2%)
OKLCHoklch(0.31 0.15 274.7)
CMYKcmyk(73.6% 76.8% 0% 50.98%)
Android#ff211d7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #211d7d;
background-color: #211d7d;
bg-[#211d7d]