Skip to content
Vectorlight.net

#0a149d

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

HEX
#0a149d
RGB
10, 20, 157
HSL
235.92°, 88.02%, 32.75%
OKLCH
0.33 0.21 265.92
Names
—
Lists

Codes

FormatValue
HEX#0a149d
RGBrgb(10 20 157)
HSLhsl(235.92 88.02% 32.75%)
OKLCHoklch(0.33 0.21 265.92)
CMYKcmyk(93.63% 87.26% 0% 38.43%)
Android#ff0a149d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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