Skip to content
Vectorlight.net

#001048

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

HEX
#001048
RGB
0, 16, 72
HSL
226.67°, 100%, 14.12%
OKLCH
0.21 0.11 263.02
Names
—
Lists

Codes

FormatValue
HEX#001048
RGBrgb(0 16 72)
HSLhsl(226.67 100% 14.12%)
OKLCHoklch(0.21 0.11 263.02)
CMYKcmyk(100% 77.78% 0% 71.76%)
Android#ff001048

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #001048;
background-color: #001048;
bg-[#001048]