Skip to content
Vectorlight.net

#286fad

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

HEX
#286fad
RGB
40, 111, 173
HSL
207.97°, 62.44%, 41.76%
OKLCH
0.53 0.12 248.72
Names
—
Lists

Codes

FormatValue
HEX#286fad
RGBrgb(40 111 173)
HSLhsl(207.97 62.44% 41.76%)
OKLCHoklch(0.53 0.12 248.72)
CMYKcmyk(76.88% 35.84% 0% 32.16%)
Android#ff286fad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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