Skip to content
Vectorlight.net

#2450aa

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

HEX
#2450aa
RGB
36, 80, 170
HSL
220.3°, 65.05%, 40.39%
OKLCH
0.45 0.15 262.45
Names
—
Lists

Codes

FormatValue
HEX#2450aa
RGBrgb(36 80 170)
HSLhsl(220.3 65.05% 40.39%)
OKLCHoklch(0.45 0.15 262.45)
CMYKcmyk(78.82% 52.94% 0% 33.33%)
Android#ff2450aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2450aa;
background-color: #2450aa;
bg-[#2450aa]