Skip to content
Vectorlight.net

#3040ed

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

HEX
#3040ed
RGB
48, 64, 237
HSL
234.92°, 84%, 55.88%
OKLCH
0.49 0.25 269.11
Names
—
Lists

Codes

FormatValue
HEX#3040ed
RGBrgb(48 64 237)
HSLhsl(234.92 84% 55.88%)
OKLCHoklch(0.49 0.25 269.11)
CMYKcmyk(79.75% 73% 0% 7.06%)
Android#ff3040ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3040ed;
background-color: #3040ed;
bg-[#3040ed]