Skip to content
Kolorvia
#1a1f2b

Color #1a1f2b

A muted very dark blue.

Conversions

HEX
#1a1f2b
RGB
rgb(26, 31, 43)
HSL
hsl(222.4, 24.6%, 13.5%)
HSV / HSB
hsv(222.4, 39.5%, 16.9%)
CMYK
cmyk(39.5%, 27.9%, 0%, 83.1%)
LAB
lab(11.78, 1.39, -8.78)
LCH
lch(11.78, 8.89, 279)
OKLCH
oklch(24%, 0.0243, 266.94)
HWB
hwb(222.4, 10.2%, 83.1%)

Harmony colors

Complementary

#2b261a

Analogous

#1a272b
#1a1f2b
#1d1a2b

Triadic

#1a1f2b
#2b1a1f
#1f2b1a

Split-complementary

#1a1f2b
#2b1d1a
#272b1a

Tetradic

#1a1f2b
#261a2b
#2b261a
#1f2b1a

Square

#1a1f2b
#2b1a27
#2b261a
#1a2b1d

Shades

Color #1a1f2b mixed toward black.

#161a24
#11151d
#0d0f15
#090a0e
#040507

Tints

Color #1a1f2b mixed toward white.

#364059
#516187
#7685ac
#a3aec8
#d1d6e3

Tones

Color #1a1f2b mixed toward gray.

#1b2029
#1d2028
#1e2127
#202125
#212224

Accessibility

Aa White text on this color
16.47:1
Aa Black text on this color
1.27:1

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

Under color vision deficiencies

Protanopia

#1c1c28 · ΔE 3

Deuteranopia

#1c1c28 · ΔE 3

Tritanopia

#1a2626 · ΔE 10.2

Achromatopsia

#1f1f1f · ΔE 7.5

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

Code

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

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

#1a1f2b (#1a1f2b) is rgb(26, 31, 43) in RGB.

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