Skip to content
Vectorlight.net

#286f9d

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

HEX
#286f9d
RGB
40, 111, 157
HSL
203.59°, 59.39%, 38.63%
OKLCH
0.52 0.1 241.23
Names
—
Lists

Codes

FormatValue
HEX#286f9d
RGBrgb(40 111 157)
HSLhsl(203.59 59.39% 38.63%)
OKLCHoklch(0.52 0.1 241.23)
CMYKcmyk(74.52% 29.3% 0% 38.43%)
Android#ff286f9d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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