Skip to content
Vectorlight.net

#286d8e

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

HEX
#286d8e
RGB
40, 109, 142
HSL
199.41°, 56.04%, 35.69%
OKLCH
0.51 0.09 232.94
Names
—
Lists

Codes

FormatValue
HEX#286d8e
RGBrgb(40 109 142)
HSLhsl(199.41 56.04% 35.69%)
OKLCHoklch(0.51 0.09 232.94)
CMYKcmyk(71.83% 23.24% 0% 44.31%)
Android#ff286d8e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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