Skip to content
Vectorlight.net

#227bb4

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

HEX
#227bb4
RGB
34, 123, 180
HSL
203.42°, 68.22%, 41.96%
OKLCH
0.56 0.12 242.36
Names
—
Lists

Codes

FormatValue
HEX#227bb4
RGBrgb(34 123 180)
HSLhsl(203.42 68.22% 41.96%)
OKLCHoklch(0.56 0.12 242.36)
CMYKcmyk(81.11% 31.67% 0% 29.41%)
Android#ff227bb4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #227bb4;
background-color: #227bb4;
bg-[#227bb4]