Skip to content
Vectorlight.net

#286bfc

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

HEX
#286bfc
RGB
40, 107, 252
HSL
221.04°, 97.25%, 57.25%
OKLCH
0.58 0.23 262.77
Names
—
Lists

Codes

FormatValue
HEX#286bfc
RGBrgb(40 107 252)
HSLhsl(221.04 97.25% 57.25%)
OKLCHoklch(0.58 0.23 262.77)
CMYKcmyk(84.13% 57.54% 0% 1.18%)
Android#ff286bfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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