Skip to content
Vectorlight.net

#286fea

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

HEX
#286fea
RGB
40, 111, 234
HSL
218.04°, 82.2%, 53.73%
OKLCH
0.57 0.2 260.69
Names
—
Lists

Codes

FormatValue
HEX#286fea
RGBrgb(40 111 234)
HSLhsl(218.04 82.2% 53.73%)
OKLCHoklch(0.57 0.2 260.69)
CMYKcmyk(82.91% 52.56% 0% 8.24%)
Android#ff286fea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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