Skip to content
Vectorlight.net

#08309f

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

HEX
#08309f
RGB
8, 48, 159
HSL
224.11°, 90.42%, 32.75%
OKLCH
0.37 0.18 263.91
Names
—
Lists

Codes

FormatValue
HEX#08309f
RGBrgb(8 48 159)
HSLhsl(224.11 90.42% 32.75%)
OKLCHoklch(0.37 0.18 263.91)
CMYKcmyk(94.97% 69.81% 0% 37.65%)
Android#ff08309f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08309f;
background-color: #08309f;
bg-[#08309f]