Skip to content
Vectorlight.net

#287add

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

HEX
#287add
RGB
40, 122, 221
HSL
212.82°, 72.69%, 51.18%
OKLCH
0.58 0.17 255.75
Names
—
Lists

Codes

FormatValue
HEX#287add
RGBrgb(40 122 221)
HSLhsl(212.82 72.69% 51.18%)
OKLCHoklch(0.58 0.17 255.75)
CMYKcmyk(81.9% 44.8% 0% 13.33%)
Android#ff287add

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #287add;
background-color: #287add;
bg-[#287add]