Skip to content
Vectorlight.net

#287fab

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

HEX
#287fab
RGB
40, 127, 171
HSL
200.15°, 62.09%, 41.37%
OKLCH
0.57 0.1 235.45
Names
—
Lists

Codes

FormatValue
HEX#287fab
RGBrgb(40 127 171)
HSLhsl(200.15 62.09% 41.37%)
OKLCHoklch(0.57 0.1 235.45)
CMYKcmyk(76.61% 25.73% 0% 32.94%)
Android#ff287fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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