Skip to content
Vectorlight.net

#226afd

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

HEX
#226afd
RGB
34, 106, 253
HSL
220.27°, 98.21%, 56.27%
OKLCH
0.57 0.23 262.29
Names
—
Lists

Codes

FormatValue
HEX#226afd
RGBrgb(34 106 253)
HSLhsl(220.27 98.21% 56.27%)
OKLCHoklch(0.57 0.23 262.29)
CMYKcmyk(86.56% 58.1% 0% 0.78%)
Android#ff226afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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