Skip to content
Kolorvia
#1f1d28

Color #1f1d28

A muted very dark blue.

Conversions

HEX
#1f1d28
RGB
rgb(31, 29, 40)
HSL
hsl(250.9, 15.9%, 13.5%)
HSV / HSB
hsv(250.9, 27.5%, 15.7%)
CMYK
cmyk(22.5%, 27.5%, 0%, 84.3%)
LAB
lab(11.44, 3.93, -7.08)
LCH
lch(11.44, 8.1, 299.03)
OKLCH
oklch(23.8%, 0.021, 293.02)
HWB
hwb(250.9, 11.4%, 84.3%)

Harmony colors

Complementary

#26281d

Analogous

#1d2028
#1f1d28
#241d28

Triadic

#1f1d28
#281f1d
#1d281f

Split-complementary

#1f1d28
#28241d
#20281d

Tetradic

#1f1d28
#281d26
#26281d
#1d281f

Square

#1f1d28
#281d20
#26281d
#1d2824

Shades

Color #1f1d28 mixed toward black.

#1a1821
#15131b
#0f0e14
#0a0a0d
#050507

Tints

Color #1f1d28 mixed toward white.

#403c53
#615b7d
#867fa2
#aeaac1
#d7d4e0

Tones

Color #1f1d28 mixed toward gray.

#201e27
#201f26
#212025
#212124
#222223

Accessibility

Aa White text on this color
16.61:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#1e1e26 · ΔE 2.4

Deuteranopia

#1e1e25 · ΔE 3

Tritanopia

#1f2423 · ΔE 10.3

Achromatopsia

#1e1e1e · ΔE 7.6

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

Code

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

Related colors

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

Frequently asked questions

#1f1d28 (#1f1d28) is rgb(31, 29, 40) in RGB.

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