Skip to content
Vectorlight.net

#0742ed

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

HEX
#0742ed
RGB
7, 66, 237
HSL
224.61°, 94.26%, 47.84%
OKLCH
0.49 0.26 263.91
Names
—
Lists

Codes

FormatValue
HEX#0742ed
RGBrgb(7 66 237)
HSLhsl(224.61 94.26% 47.84%)
OKLCHoklch(0.49 0.26 263.91)
CMYKcmyk(97.05% 72.15% 0% 7.06%)
Android#ff0742ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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