Skip to content
Vectorlight.net

#22285b

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

HEX
#22285b
RGB
34, 40, 91
HSL
233.68°, 45.6%, 24.51%
OKLCH
0.3 0.09 274.59
Names
—
Lists

Codes

FormatValue
HEX#22285b
RGBrgb(34 40 91)
HSLhsl(233.68 45.6% 24.51%)
OKLCHoklch(0.3 0.09 274.59)
CMYKcmyk(62.64% 56.04% 0% 64.31%)
Android#ff22285b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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