Skip to content
Vectorlight.net

#22124a

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

HEX
#22124a
RGB
34, 18, 74
HSL
257.14°, 60.87%, 18.04%
OKLCH
0.24 0.1 290.36
Names
—
Lists

Codes

FormatValue
HEX#22124a
RGBrgb(34 18 74)
HSLhsl(257.14 60.87% 18.04%)
OKLCHoklch(0.24 0.1 290.36)
CMYKcmyk(54.05% 75.68% 0% 70.98%)
Android#ff22124a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22124a;
background-color: #22124a;
bg-[#22124a]