Skip to content
Vectorlight.net

#309afe

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

HEX
#309afe
RGB
48, 154, 254
HSL
209.13°, 99.04%, 59.22%
OKLCH
0.68 0.17 251.3
Names
—
Lists

Codes

FormatValue
HEX#309afe
RGBrgb(48 154 254)
HSLhsl(209.13 99.04% 59.22%)
OKLCHoklch(0.68 0.17 251.3)
CMYKcmyk(81.1% 39.37% 0% 0.39%)
Android#ff309afe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #309afe;
background-color: #309afe;
bg-[#309afe]