Skip to content
Vectorlight.net

#285bce

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

HEX
#285bce
RGB
40, 91, 206
HSL
221.57°, 67.48%, 48.24%
OKLCH
0.51 0.19 263.26
Names
—
Lists

Codes

FormatValue
HEX#285bce
RGBrgb(40 91 206)
HSLhsl(221.57 67.48% 48.24%)
OKLCHoklch(0.51 0.19 263.26)
CMYKcmyk(80.58% 55.83% 0% 19.22%)
Android#ff285bce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #285bce;
background-color: #285bce;
bg-[#285bce]