Skip to content
Vectorlight.net

#286bfe

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

HEX
#286bfe
RGB
40, 107, 254
HSL
221.21°, 99.07%, 57.65%
OKLCH
0.58 0.23 262.87
Names
—
Lists

Codes

FormatValue
HEX#286bfe
RGBrgb(40 107 254)
HSLhsl(221.21 99.07% 57.65%)
OKLCHoklch(0.58 0.23 262.87)
CMYKcmyk(84.25% 57.87% 0% 0.39%)
Android#ff286bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #286bfe;
background-color: #286bfe;
bg-[#286bfe]