Skip to content
Kolorvia
#1f183a

Color #1f183a

A moderately saturated very dark blue.

Conversions

HEX
#1f183a
RGB
rgb(31, 24, 58)
HSL
hsl(252.4, 41.5%, 16.1%)
HSV / HSB
hsv(252.4, 58.6%, 22.7%)
CMYK
cmyk(46.6%, 58.6%, 0%, 77.3%)
LAB
lab(10.92, 13.56, -20.92)
LCH
lch(10.92, 24.93, 302.95)
OKLCH
oklch(23.8%, 0.0632, 290.18)
HWB
hwb(252.4, 9.4%, 77.3%)

Harmony colors

Complementary

#333a18

Analogous

#18223a
#1f183a
#30183a

Triadic

#1f183a
#3a1f18
#183a1f

Split-complementary

#1f183a
#3a3018
#223a18

Tetradic

#1f183a
#3a1833
#333a18
#183a1f

Square

#1f183a
#3a1822
#333a18
#183a30

Shades

Color #1f183a mixed toward black.

#1a1430
#151027
#100c1d
#0a0813
#05040a

Tints

Color #1f183a mixed toward white.

#3a2d6d
#55429f
#7a68c0
#a69ad5
#d3cdea

Tones

Color #1f183a mixed toward gray.

#211b37
#221e34
#242132
#26232f
#27262c

Accessibility

Aa White text on this color
16.8:1
Aa Black text on this color
1.25:1

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

Under color vision deficiencies

Protanopia

#1c1c34 · ΔE 4.7

Deuteranopia

#1d1d32 · ΔE 6

Tritanopia

#1f2f2d · ΔE 23

Achromatopsia

#1d1d1d · ΔE 17.5

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

Code

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

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Medium Purple #9370db
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#1f183a (#1f183a) is rgb(31, 24, 58) in RGB.

No, #1f183a 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 #1f183a, 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.