Skip to content
Vectorlight.net

#286bad

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

HEX
#286bad
RGB
40, 107, 173
HSL
209.77°, 62.44%, 41.76%
OKLCH
0.52 0.12 251.26
Names
—
Lists

Codes

FormatValue
HEX#286bad
RGBrgb(40 107 173)
HSLhsl(209.77 62.44% 41.76%)
OKLCHoklch(0.52 0.12 251.26)
CMYKcmyk(76.88% 38.15% 0% 32.16%)
Android#ff286bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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