Skip to content
Vectorlight.net

#21328e

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

HEX
#21328e
RGB
33, 50, 142
HSL
230.64°, 62.29%, 34.31%
OKLCH
0.37 0.15 269.15
Names
—
Lists

Codes

FormatValue
HEX#21328e
RGBrgb(33 50 142)
HSLhsl(230.64 62.29% 34.31%)
OKLCHoklch(0.37 0.15 269.15)
CMYKcmyk(76.76% 64.79% 0% 44.31%)
Android#ff21328e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21328e;
background-color: #21328e;
bg-[#21328e]