Skip to content
Vectorlight.net

#222bbc

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

HEX
#222bbc
RGB
34, 43, 188
HSL
236.49°, 69.37%, 43.53%
OKLCH
0.41 0.22 269.13
Names
—
Lists

Codes

FormatValue
HEX#222bbc
RGBrgb(34 43 188)
HSLhsl(236.49 69.37% 43.53%)
OKLCHoklch(0.41 0.22 269.13)
CMYKcmyk(81.91% 77.13% 0% 26.27%)
Android#ff222bbc

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.13: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="#222bbc"
Gradient stop
<stop stop-color="#222bbc"/>
CSS variable + fill
:root { --c: #222bbc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #222bbc;
background-color: #222bbc;
bg-[#222bbc]