Skip to content
Vectorlight.net

#0f115a

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

HEX
#0f115a
RGB
15, 17, 90
HSL
238.4°, 71.43%, 20.59%
OKLCH
0.24 0.13 271.11
Names
—
Lists

Codes

FormatValue
HEX#0f115a
RGBrgb(15 17 90)
HSLhsl(238.4 71.43% 20.59%)
OKLCHoklch(0.24 0.13 271.11)
CMYKcmyk(83.33% 81.11% 0% 64.71%)
Android#ff0f115a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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