Skip to content
Kolorvia
#1a181f

Color #1a181f

A nearly neutral, gray-leaning very dark blue.

Conversions

HEX
#1a181f
RGB
rgb(26, 24, 31)
HSL
hsl(257.1, 12.7%, 10.8%)
HSV / HSB
hsv(257.1, 22.6%, 12.2%)
CMYK
cmyk(16.1%, 22.6%, 0%, 87.8%)
LAB
lab(8.75, 2.86, -4.52)
LCH
lch(8.75, 5.35, 302.32)
OKLCH
oklch(21.5%, 0.0139, 298.41)
HWB
hwb(257.1, 9.4%, 87.8%)

Harmony colors

Complementary

#1d1f18

Analogous

#181a1f
#1a181f
#1e181f

Triadic

#1a181f
#1f1a18
#181f1a

Split-complementary

#1a181f
#1f1e18
#1a1f18

Tetradic

#1a181f
#1f181d
#1d1f18
#181f1a

Square

#1a181f
#1f181a
#1d1f18
#181f1e

Shades

Color #1a181f mixed toward black.

#16141a
#111015
#0d0c10
#09080a
#040405

Tints

Color #1a181f mixed toward white.

#3e394a
#625a74
#877f9c
#afaabd
#d7d4de

Tones

Color #1a181f mixed toward gray.

#1a191e
#1b191e
#1b1a1d
#1b1a1d
#1b1b1c

Accessibility

Aa White text on this color
17.58:1
Aa Black text on this color
1.19:1

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

Under color vision deficiencies

Protanopia

#19191d · ΔE 2.7

Deuteranopia

#19191d · ΔE 2.7

Tritanopia

#1a1c1c · ΔE 6.4

Achromatopsia

#191919 · ΔE 5.5

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#1a181f (#1a181f) is rgb(26, 24, 31) in RGB.

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