Skip to content
Vectorlight.net

#394caf

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

HEX
#394caf
RGB
57, 76, 175
HSL
230.34°, 50.86%, 45.49%
OKLCH
0.46 0.16 270.68
Names
—
Lists

Codes

FormatValue
HEX#394caf
RGBrgb(57 76 175)
HSLhsl(230.34 50.86% 45.49%)
OKLCHoklch(0.46 0.16 270.68)
CMYKcmyk(67.43% 56.57% 0% 31.37%)
Android#ff394caf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #394caf;
background-color: #394caf;
bg-[#394caf]