Skip to content
Vectorlight.net

#3078fa

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

HEX
#3078fa
RGB
48, 120, 250
HSL
218.61°, 95.28%, 58.43%
OKLCH
0.6 0.21 261.1
Names
—
Lists

Codes

FormatValue
HEX#3078fa
RGBrgb(48 120 250)
HSLhsl(218.61 95.28% 58.43%)
OKLCHoklch(0.6 0.21 261.1)
CMYKcmyk(80.8% 52% 0% 1.96%)
Android#ff3078fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3078fa;
background-color: #3078fa;
bg-[#3078fa]