Skip to content
Vectorlight.net

#0049cd

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

HEX
#0049cd
RGB
0, 73, 205
HSL
218.63°, 100%, 40.2%
OKLCH
0.46 0.21 261.9
Names
—
Lists

Codes

FormatValue
HEX#0049cd
RGBrgb(0 73 205)
HSLhsl(218.63 100% 40.2%)
OKLCHoklch(0.46 0.21 261.9)
CMYKcmyk(100% 64.39% 0% 19.61%)
Android#ff0049cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0049cd;
background-color: #0049cd;
bg-[#0049cd]