Skip to content
Vectorlight.net

#2a50da

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

HEX
#2a50da
RGB
42, 80, 218
HSL
227.05°, 70.4%, 50.98%
OKLCH
0.5 0.21 266.28
Names
—
Lists

Codes

FormatValue
HEX#2a50da
RGBrgb(42 80 218)
HSLhsl(227.05 70.4% 50.98%)
OKLCHoklch(0.5 0.21 266.28)
CMYKcmyk(80.73% 63.3% 0% 14.51%)
Android#ff2a50da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2a50da;
background-color: #2a50da;
bg-[#2a50da]