Skip to content
Kolorvia
#1f3e88

Color #1f3e88

A moderately saturated dark blue.

Conversions

HEX
#1f3e88
RGB
rgb(31, 62, 136)
HSL
hsl(222.3, 62.9%, 32.7%)
HSV / HSB
hsv(222.3, 77.2%, 53.3%)
CMYK
cmyk(77.2%, 54.4%, 0%, 46.7%)
LAB
lab(28.15, 16.55, -44.69)
LCH
lch(28.15, 47.66, 290.32)
OKLCH
oklch(38.7%, 0.1294, 264.1)
HWB
hwb(222.3, 12.2%, 46.7%)

Harmony colors

Complementary

#88691f

Analogous

#1f7288
#1f3e88
#341f88

Triadic

#1f3e88
#881f3e
#3e881f

Split-complementary

#1f3e88
#88341f
#72881f

Tetradic

#1f3e88
#691f88
#88691f
#3e881f

Square

#1f3e88
#881f72
#88691f
#1f8834

Shades

Color #1f3e88 mixed toward black.

#1a3471
#15295b
#0f1f44
#0a152d
#050a17

Tints

Color #1f3e88 mixed toward white.

#2a53b6
#456fd5
#7393df
#a2b7ea
#d0dbf4

Tones

Color #1f3e88 mixed toward gray.

#28417f
#304576
#39496e
#424c65
#4b505c

Accessibility

Aa White text on this color
9.99:1
Aa Black text on this color
2.1:1

White text reads better on this background (9.99:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2f2f7b · ΔE 6.5

Deuteranopia

#2d2b78 · ΔE 7.5

Tritanopia

#216f6d · ΔE 30.4

Achromatopsia

#424242 · ΔE 23.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #1f3e88;
Tailwind (arbitrary value)
bg-[#1f3e88]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#1f3e88 (#1f3e88) is rgb(31, 62, 136) in RGB.

No, #1f3e88 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #1f3e88, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.