Skip to content
Vectorlight.net

#2867ed

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

HEX
#2867ed
RGB
40, 103, 237
HSL
220.81°, 84.55%, 54.31%
OKLCH
0.56 0.21 262.66
Names
—
Lists

Codes

FormatValue
HEX#2867ed
RGBrgb(40 103 237)
HSLhsl(220.81 84.55% 54.31%)
OKLCHoklch(0.56 0.21 262.66)
CMYKcmyk(83.12% 56.54% 0% 7.06%)
Android#ff2867ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2867ed;
background-color: #2867ed;
bg-[#2867ed]