Skip to content
Vectorlight.net

#5f98ed

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

HEX
#5f98ed
RGB
95, 152, 237
HSL
215.92°, 79.78%, 65.1%
OKLCH
0.68 0.14 258.19
Names
—
Lists

Codes

FormatValue
HEX#5f98ed
RGBrgb(95 152 237)
HSLhsl(215.92 79.78% 65.1%)
OKLCHoklch(0.68 0.14 258.19)
CMYKcmyk(59.92% 35.86% 0% 7.06%)
Android#ff5f98ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5f98ed;
background-color: #5f98ed;
bg-[#5f98ed]