Skip to content
Vectorlight.net

#22399d

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

HEX
#22399d
RGB
34, 57, 157
HSL
228.78°, 64.4%, 37.45%
OKLCH
0.4 0.16 267.82
Names
—
Lists

Codes

FormatValue
HEX#22399d
RGBrgb(34 57 157)
HSLhsl(228.78 64.4% 37.45%)
OKLCHoklch(0.4 0.16 267.82)
CMYKcmyk(78.34% 63.69% 0% 38.43%)
Android#ff22399d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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