Skip to content
Vectorlight.net

#072aaf

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

HEX
#072aaf
RGB
7, 42, 175
HSL
227.5°, 92.31%, 35.69%
OKLCH
0.38 0.21 264.6
Names
—
Lists

Codes

FormatValue
HEX#072aaf
RGBrgb(7 42 175)
HSLhsl(227.5 92.31% 35.69%)
OKLCHoklch(0.38 0.21 264.6)
CMYKcmyk(96% 76% 0% 31.37%)
Android#ff072aaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #072aaf;
background-color: #072aaf;
bg-[#072aaf]