Skip to content
Vectorlight.net

#397bcc

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

HEX
#397bcc
RGB
57, 123, 204
HSL
213.06°, 59.04%, 51.18%
OKLCH
0.58 0.14 255.1
Names
—
Lists

Codes

FormatValue
HEX#397bcc
RGBrgb(57 123 204)
HSLhsl(213.06 59.04% 51.18%)
OKLCHoklch(0.58 0.14 255.1)
CMYKcmyk(72.06% 39.71% 0% 20%)
Android#ff397bcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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