Skip to content
Vectorlight.net

#227fac

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

HEX
#227fac
RGB
34, 127, 172
HSL
199.57°, 66.99%, 40.39%
OKLCH
0.56 0.11 235.08
Names
—
Lists

Codes

FormatValue
HEX#227fac
RGBrgb(34 127 172)
HSLhsl(199.57 66.99% 40.39%)
OKLCHoklch(0.56 0.11 235.08)
CMYKcmyk(80.23% 26.16% 0% 32.55%)
Android#ff227fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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