Skip to content
Vectorlight.net

#1e46ea

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

HEX
#1e46ea
RGB
30, 70, 234
HSL
228.24°, 82.93%, 51.76%
OKLCH
0.49 0.25 265.66
Names
—
Lists

Codes

FormatValue
HEX#1e46ea
RGBrgb(30 70 234)
HSLhsl(228.24 82.93% 51.76%)
OKLCHoklch(0.49 0.25 265.66)
CMYKcmyk(87.18% 70.09% 0% 8.24%)
Android#ff1e46ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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