Skip to content
Vectorlight.net

#287cc8

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

HEX
#287cc8
RGB
40, 124, 200
HSL
208.5°, 66.67%, 47.06%
OKLCH
0.57 0.14 250.09
Names
—
Lists

Codes

FormatValue
HEX#287cc8
RGBrgb(40 124 200)
HSLhsl(208.5 66.67% 47.06%)
OKLCHoklch(0.57 0.14 250.09)
CMYKcmyk(80% 38% 0% 21.57%)
Android#ff287cc8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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