Skip to content
Vectorlight.net

#7c8aab

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

HEX
#7c8aab
RGB
124, 138, 171
HSL
222.13°, 21.86%, 57.84%
OKLCH
0.63 0.05 266.91
Names
—
Lists

Codes

FormatValue
HEX#7c8aab
RGBrgb(124 138 171)
HSLhsl(222.13 21.86% 57.84%)
OKLCHoklch(0.63 0.05 266.91)
CMYKcmyk(27.49% 19.3% 0% 32.94%)
Android#ff7c8aab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.08:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#7c8aab"
Gradient stop
<stop stop-color="#7c8aab"/>
CSS variable + fill
:root { --c: #7c8aab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #7c8aab;
background-color: #7c8aab;
bg-[#7c8aab]