Skip to content
Vectorlight.net

#22385f

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

HEX
#22385f
RGB
34, 56, 95
HSL
218.36°, 47.29%, 25.29%
OKLCH
0.34 0.07 261.1
Names
—
Lists

Codes

FormatValue
HEX#22385f
RGBrgb(34 56 95)
HSLhsl(218.36 47.29% 25.29%)
OKLCHoklch(0.34 0.07 261.1)
CMYKcmyk(64.21% 41.05% 0% 62.75%)
Android#ff22385f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22385f;
background-color: #22385f;
bg-[#22385f]