Skip to content
Kolorvia
#181f2f

Color #181f2f

A muted very dark blue.

Conversions

HEX
#181f2f
RGB
rgb(24, 31, 47)
HSL
hsl(221.7, 32.4%, 13.9%)
HSV / HSB
hsv(221.7, 48.9%, 18.4%)
CMYK
cmyk(48.9%, 34%, 0%, 81.6%)
LAB
lab(11.82, 2.06, -11.64)
LCH
lch(11.82, 11.82, 280.04)
OKLCH
oklch(24.1%, 0.0326, 265.78)
HWB
hwb(221.7, 9.4%, 81.6%)

Harmony colors

Complementary

#2f2818

Analogous

#182a2f
#181f2f
#1c182f

Triadic

#181f2f
#2f181f
#1f2f18

Split-complementary

#181f2f
#2f1c18
#2a2f18

Tetradic

#181f2f
#28182f
#2f2818
#1f2f18

Square

#181f2f
#2f182a
#2f2818
#182f1c

Shades

Color #181f2f mixed toward black.

#141a27
#10151f
#0c0f17
#080a10
#040508

Tints

Color #181f2f mixed toward white.

#313f5f
#495f90
#6e83b5
#9eadce
#cfd6e6

Tones

Color #181f2f mixed toward gray.

#1a202d
#1c202b
#1e2129
#202227
#222325

Accessibility

Aa White text on this color
16.46:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#1b1b2c · ΔE 4

Deuteranopia

#1b1a2b · ΔE 4.6

Tritanopia

#182928 · ΔE 13.7

Achromatopsia

#1f1f1f · ΔE 9.5

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

Code

CSS
background-color: #181f2f;
Tailwind (arbitrary value)
bg-[#181f2f]

Related colors

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

Frequently asked questions

#181f2f (#181f2f) is rgb(24, 31, 47) in RGB.

No, #181f2f 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 #181f2f, 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.