Skip to content
Vectorlight.net

#285dc3

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

HEX
#285dc3
RGB
40, 93, 195
HSL
219.48°, 65.96%, 46.08%
OKLCH
0.5 0.17 261.78
Names
—
Lists

Codes

FormatValue
HEX#285dc3
RGBrgb(40 93 195)
HSLhsl(219.48 65.96% 46.08%)
OKLCHoklch(0.5 0.17 261.78)
CMYKcmyk(79.49% 52.31% 0% 23.53%)
Android#ff285dc3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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