Skip to content
Vectorlight.net

#0702ab

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

HEX
#0702ab
RGB
7, 2, 171
HSL
241.78°, 97.69%, 33.92%
OKLCH
0.34 0.23 265.19
Names
—
Lists

Codes

FormatValue
HEX#0702ab
RGBrgb(7 2 171)
HSLhsl(241.78 97.69% 33.92%)
OKLCHoklch(0.34 0.23 265.19)
CMYKcmyk(95.91% 98.83% 0% 32.94%)
Android#ff0702ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0702ab;
background-color: #0702ab;
bg-[#0702ab]