Skip to content
Vectorlight.net

#304593

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

HEX
#304593
RGB
48, 69, 147
HSL
227.27°, 50.77%, 38.24%
OKLCH
0.42 0.13 268.81
Names
—
Lists

Codes

FormatValue
HEX#304593
RGBrgb(48 69 147)
HSLhsl(227.27 50.77% 38.24%)
OKLCHoklch(0.42 0.13 268.81)
CMYKcmyk(67.35% 53.06% 0% 42.35%)
Android#ff304593

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #304593;
background-color: #304593;
bg-[#304593]