Skip to content
Vectorlight.net

#287cab

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

HEX
#287cab
RGB
40, 124, 171
HSL
201.53°, 62.09%, 41.37%
OKLCH
0.56 0.11 238.02
Names
—
Lists

Codes

FormatValue
HEX#287cab
RGBrgb(40 124 171)
HSLhsl(201.53 62.09% 41.37%)
OKLCHoklch(0.56 0.11 238.02)
CMYKcmyk(76.61% 27.49% 0% 32.94%)
Android#ff287cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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