Skip to content
Vectorlight.net

#3057ff

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

HEX
#3057ff
RGB
48, 87, 255
HSL
228.7°, 100%, 59.41%
OKLCH
0.55 0.25 266.77
Names
—
Lists

Codes

FormatValue
HEX#3057ff
RGBrgb(48 87 255)
HSLhsl(228.7 100% 59.41%)
OKLCHoklch(0.55 0.25 266.77)
CMYKcmyk(81.18% 65.88% 0% 0%)
Android#ff3057ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#3057ff"
Gradient stop
<stop stop-color="#3057ff"/>
CSS variable + fill
:root { --c: #3057ff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #3057ff;
background-color: #3057ff;
bg-[#3057ff]