Skip to content
Vectorlight.net

#1040ae

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

HEX
#1040ae
RGB
16, 64, 174
HSL
221.77°, 83.16%, 37.25%
OKLCH
0.42 0.18 263.09
Names
—
Lists

Codes

FormatValue
HEX#1040ae
RGBrgb(16 64 174)
HSLhsl(221.77 83.16% 37.25%)
OKLCHoklch(0.42 0.18 263.09)
CMYKcmyk(90.8% 63.22% 0% 31.76%)
Android#ff1040ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1040ae;
background-color: #1040ae;
bg-[#1040ae]