Skip to content
Vectorlight.net

#22276b

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

HEX
#22276b
RGB
34, 39, 107
HSL
235.89°, 51.77%, 27.65%
OKLCH
0.31 0.12 274.3
Names
—
Lists

Codes

FormatValue
HEX#22276b
RGBrgb(34 39 107)
HSLhsl(235.89 51.77% 27.65%)
OKLCHoklch(0.31 0.12 274.3)
CMYKcmyk(68.22% 63.55% 0% 58.04%)
Android#ff22276b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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