Skip to content
Vectorlight.net

#314799

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

HEX
#314799
RGB
49, 71, 153
HSL
227.31°, 51.49%, 39.61%
OKLCH
0.43 0.14 268.71
Names
—
Lists

Codes

FormatValue
HEX#314799
RGBrgb(49 71 153)
HSLhsl(227.31 51.49% 39.61%)
OKLCHoklch(0.43 0.14 268.71)
CMYKcmyk(67.97% 53.59% 0% 40%)
Android#ff314799

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #314799;
background-color: #314799;
bg-[#314799]