Skip to content
Vectorlight.net

#285acd

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

HEX
#285acd
RGB
40, 90, 205
HSL
221.82°, 67.35%, 48.04%
OKLCH
0.5 0.19 263.44
Names
—
Lists

Codes

FormatValue
HEX#285acd
RGBrgb(40 90 205)
HSLhsl(221.82 67.35% 48.04%)
OKLCHoklch(0.5 0.19 263.44)
CMYKcmyk(80.49% 56.1% 0% 19.61%)
Android#ff285acd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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