Skip to content
Vectorlight.net

#286ff6

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

HEX
#286ff6
RGB
40, 111, 246
HSL
219.32°, 91.96%, 56.08%
OKLCH
0.58 0.21 261.65
Names
—
Lists

Codes

FormatValue
HEX#286ff6
RGBrgb(40 111 246)
HSLhsl(219.32 91.96% 56.08%)
OKLCHoklch(0.58 0.21 261.65)
CMYKcmyk(83.74% 54.88% 0% 3.53%)
Android#ff286ff6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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