Skip to content
Vectorlight.net

#307cdb

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

HEX
#307cdb
RGB
48, 124, 219
HSL
213.33°, 70.37%, 52.35%
OKLCH
0.59 0.16 255.92
Names
—
Lists

Codes

FormatValue
HEX#307cdb
RGBrgb(48 124 219)
HSLhsl(213.33 70.37% 52.35%)
OKLCHoklch(0.59 0.16 255.92)
CMYKcmyk(78.08% 43.38% 0% 14.12%)
Android#ff307cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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