Skip to content
Vectorlight.net

#1c7aed

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

HEX
#1c7aed
RGB
28, 122, 237
HSL
213.01°, 85.31%, 51.96%
OKLCH
0.59 0.19 256.8
Names
—
Lists

Codes

FormatValue
HEX#1c7aed
RGBrgb(28 122 237)
HSLhsl(213.01 85.31% 51.96%)
OKLCHoklch(0.59 0.19 256.8)
CMYKcmyk(88.19% 48.52% 0% 7.06%)
Android#ff1c7aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.05:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#1c7aed"
Gradient stop
<stop stop-color="#1c7aed"/>
CSS variable + fill
:root { --c: #1c7aed; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1c7aed;
background-color: #1c7aed;
bg-[#1c7aed]