Skip to content
Vectorlight.net

#1f679d

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

HEX
#1f679d
RGB
31, 103, 157
HSL
205.71°, 67.02%, 36.86%
OKLCH
0.5 0.11 245.77
Names
—
Lists

Codes

FormatValue
HEX#1f679d
RGBrgb(31 103 157)
HSLhsl(205.71 67.02% 36.86%)
OKLCHoklch(0.5 0.11 245.77)
CMYKcmyk(80.25% 34.39% 0% 38.43%)
Android#ff1f679d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f679d;
background-color: #1f679d;
bg-[#1f679d]