Skip to content
Vectorlight.net

#1f355d

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

HEX
#1f355d
RGB
31, 53, 93
HSL
218.71°, 50%, 24.31%
OKLCH
0.33 0.08 261.43
Names
—
Lists

Codes

FormatValue
HEX#1f355d
RGBrgb(31 53 93)
HSLhsl(218.71 50% 24.31%)
OKLCHoklch(0.33 0.08 261.43)
CMYKcmyk(66.67% 43.01% 0% 63.53%)
Android#ff1f355d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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