Skip to content
Vectorlight.net

#072866

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

HEX
#072866
RGB
7, 40, 102
HSL
219.16°, 87.16%, 21.37%
OKLCH
0.3 0.12 261.52
Names
—
Lists

Codes

FormatValue
HEX#072866
RGBrgb(7 40 102)
HSLhsl(219.16 87.16% 21.37%)
OKLCHoklch(0.3 0.12 261.52)
CMYKcmyk(93.14% 60.78% 0% 60%)
Android#ff072866

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #072866;
background-color: #072866;
bg-[#072866]