Skip to content
Vectorlight.net

#286baf

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

HEX
#286baf
RGB
40, 107, 175
HSL
210.22°, 62.79%, 42.16%
OKLCH
0.52 0.13 251.9
Names
—
Lists

Codes

FormatValue
HEX#286baf
RGBrgb(40 107 175)
HSLhsl(210.22 62.79% 42.16%)
OKLCHoklch(0.52 0.13 251.9)
CMYKcmyk(77.14% 38.86% 0% 31.37%)
Android#ff286baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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