Skip to content
Vectorlight.net

#1f094e

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

HEX
#1f094e
RGB
31, 9, 78
HSL
259.13°, 79.31%, 17.06%
OKLCH
0.23 0.11 288.42
Names
—
Lists

Codes

FormatValue
HEX#1f094e
RGBrgb(31 9 78)
HSLhsl(259.13 79.31% 17.06%)
OKLCHoklch(0.23 0.11 288.42)
CMYKcmyk(60.26% 88.46% 0% 69.41%)
Android#ff1f094e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f094e;
background-color: #1f094e;
bg-[#1f094e]