Skip to content
Vectorlight.net

#397fab

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

HEX
#397fab
RGB
57, 127, 171
HSL
203.16°, 50%, 44.71%
OKLCH
0.57 0.1 239.3
Names
—
Lists

Codes

FormatValue
HEX#397fab
RGBrgb(57 127 171)
HSLhsl(203.16 50% 44.71%)
OKLCHoklch(0.57 0.1 239.3)
CMYKcmyk(66.67% 25.73% 0% 32.94%)
Android#ff397fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #397fab;
background-color: #397fab;
bg-[#397fab]