Skip to content
Vectorlight.net

#307fdf

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

HEX
#307fdf
RGB
48, 127, 223
HSL
212.91°, 73.22%, 53.14%
OKLCH
0.6 0.16 255.5
Names
—
Lists

Codes

FormatValue
HEX#307fdf
RGBrgb(48 127 223)
HSLhsl(212.91 73.22% 53.14%)
OKLCHoklch(0.6 0.16 255.5)
CMYKcmyk(78.48% 43.05% 0% 12.55%)
Android#ff307fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #307fdf;
background-color: #307fdf;
bg-[#307fdf]