Skip to content
Vectorlight.net

#307ccf

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

HEX
#307ccf
RGB
48, 124, 207
HSL
211.32°, 62.35%, 50%
OKLCH
0.58 0.15 253.38
Names
—
Lists

Codes

FormatValue
HEX#307ccf
RGBrgb(48 124 207)
HSLhsl(211.32 62.35% 50%)
OKLCHoklch(0.58 0.15 253.38)
CMYKcmyk(76.81% 40.1% 0% 18.82%)
Android#ff307ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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