Skip to content
Vectorlight.net

#22305d

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

HEX
#22305d
RGB
34, 48, 93
HSL
225.76°, 46.46%, 24.9%
OKLCH
0.32 0.08 268.52
Names
—
Lists

Codes

FormatValue
HEX#22305d
RGBrgb(34 48 93)
HSLhsl(225.76 46.46% 24.9%)
OKLCHoklch(0.32 0.08 268.52)
CMYKcmyk(63.44% 48.39% 0% 63.53%)
Android#ff22305d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22305d;
background-color: #22305d;
bg-[#22305d]