Skip to content
Vectorlight.net

#34306a

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

HEX
#34306a
RGB
52, 48, 106
HSL
244.14°, 37.66%, 30.2%
OKLCH
0.35 0.1 283.13
Names
—
Lists

Codes

FormatValue
HEX#34306a
RGBrgb(52 48 106)
HSLhsl(244.14 37.66% 30.2%)
OKLCHoklch(0.35 0.1 283.13)
CMYKcmyk(50.94% 54.72% 0% 58.43%)
Android#ff34306a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #34306a;
background-color: #34306a;
bg-[#34306a]