Skip to content
Vectorlight.net

#22276a

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

HEX
#22276a
RGB
34, 39, 106
HSL
235.83°, 51.43%, 27.45%
OKLCH
0.31 0.12 274.36
Names
—
Lists

Codes

FormatValue
HEX#22276a
RGBrgb(34 39 106)
HSLhsl(235.83 51.43% 27.45%)
OKLCHoklch(0.31 0.12 274.36)
CMYKcmyk(67.92% 63.21% 0% 58.43%)
Android#ff22276a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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