Skip to content
Vectorlight.net

#0912cb

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

HEX
#0912cb
RGB
9, 18, 203
HSL
237.22°, 91.51%, 41.57%
OKLCH
0.39 0.26 265.11
Names
—
Lists

Codes

FormatValue
HEX#0912cb
RGBrgb(9 18 203)
HSLhsl(237.22 91.51% 41.57%)
OKLCHoklch(0.39 0.26 265.11)
CMYKcmyk(95.57% 91.13% 0% 20.39%)
Android#ff0912cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0912cb;
background-color: #0912cb;
bg-[#0912cb]