Skip to content
Vectorlight.net

#228cfe

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

HEX
#228cfe
RGB
34, 140, 254
HSL
211.09°, 99.1%, 56.47%
OKLCH
0.64 0.19 254.61
Names
—
Lists

Codes

FormatValue
HEX#228cfe
RGBrgb(34 140 254)
HSLhsl(211.09 99.1% 56.47%)
OKLCHoklch(0.64 0.19 254.61)
CMYKcmyk(86.61% 44.88% 0% 0.39%)
Android#ff228cfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #228cfe;
background-color: #228cfe;
bg-[#228cfe]