Skip to content
Vectorlight.net

#2858fe

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

HEX
#2858fe
RGB
40, 88, 254
HSL
226.54°, 99.07%, 57.65%
OKLCH
0.54 0.25 265.47
Names
—
Lists

Codes

FormatValue
HEX#2858fe
RGBrgb(40 88 254)
HSLhsl(226.54 99.07% 57.65%)
OKLCHoklch(0.54 0.25 265.47)
CMYKcmyk(84.25% 65.35% 0% 0.39%)
Android#ff2858fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2858fe;
background-color: #2858fe;
bg-[#2858fe]