Skip to content
Vectorlight.net

#2162fd

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

HEX
#2162fd
RGB
33, 98, 253
HSL
222.27°, 98.21%, 56.08%
OKLCH
0.56 0.24 263.38
Names
—
Lists

Codes

FormatValue
HEX#2162fd
RGBrgb(33 98 253)
HSLhsl(222.27 98.21% 56.08%)
OKLCHoklch(0.56 0.24 263.38)
CMYKcmyk(86.96% 61.26% 0% 0.78%)
Android#ff2162fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2162fd;
background-color: #2162fd;
bg-[#2162fd]