Skip to content
Vectorlight.net

#226caa

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

HEX
#226caa
RGB
34, 108, 170
HSL
207.35°, 66.67%, 40%
OKLCH
0.52 0.12 248.3
Names
—
Lists

Codes

FormatValue
HEX#226caa
RGBrgb(34 108 170)
HSLhsl(207.35 66.67% 40%)
OKLCHoklch(0.52 0.12 248.3)
CMYKcmyk(80% 36.47% 0% 33.33%)
Android#ff226caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #226caa;
background-color: #226caa;
bg-[#226caa]