Skip to content
Vectorlight.net

#1f79ed

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

HEX
#1f79ed
RGB
31, 121, 237
HSL
213.79°, 85.12%, 52.55%
OKLCH
0.59 0.19 257.37
Names
—
Lists

Codes

FormatValue
HEX#1f79ed
RGBrgb(31 121 237)
HSLhsl(213.79 85.12% 52.55%)
OKLCHoklch(0.59 0.19 257.37)
CMYKcmyk(86.92% 48.95% 0% 7.06%)
Android#ff1f79ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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