Skip to content
Vectorlight.net

#314cac

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

HEX
#314cac
RGB
49, 76, 172
HSL
226.83°, 55.66%, 43.33%
OKLCH
0.45 0.16 267.76
Names
—
Lists

Codes

FormatValue
HEX#314cac
RGBrgb(49 76 172)
HSLhsl(226.83 55.66% 43.33%)
OKLCHoklch(0.45 0.16 267.76)
CMYKcmyk(71.51% 55.81% 0% 32.55%)
Android#ff314cac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #314cac;
background-color: #314cac;
bg-[#314cac]