Skip to content
Vectorlight.net

#0b309b

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

HEX
#0b309b
RGB
11, 48, 155
HSL
224.58°, 86.75%, 32.55%
OKLCH
0.37 0.18 264.2
Names
—
Lists

Codes

FormatValue
HEX#0b309b
RGBrgb(11 48 155)
HSLhsl(224.58 86.75% 32.55%)
OKLCHoklch(0.37 0.18 264.2)
CMYKcmyk(92.9% 69.03% 0% 39.22%)
Android#ff0b309b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0b309b;
background-color: #0b309b;
bg-[#0b309b]