Skip to content
Vectorlight.net

#01188f

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

HEX
#01188f
RGB
1, 24, 143
HSL
230.28°, 98.61%, 28.24%
OKLCH
0.32 0.19 264.32
Names
—
Lists

Codes

FormatValue
HEX#01188f
RGBrgb(1 24 143)
HSLhsl(230.28 98.61% 28.24%)
OKLCHoklch(0.32 0.19 264.32)
CMYKcmyk(99.3% 83.22% 0% 43.92%)
Android#ff01188f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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