Skip to content
Kolorvia
#181f2e

Color #181f2e

A muted very dark blue.

Conversions

HEX
#181f2e
RGB
rgb(24, 31, 46)
HSL
hsl(220.9, 31.4%, 13.7%)
HSV / HSB
hsv(220.9, 47.8%, 18%)
CMYK
cmyk(47.8%, 32.6%, 0%, 82%)
LAB
lab(11.77, 1.7, -11)
LCH
lch(11.77, 11.13, 278.79)
OKLCH
oklch(24%, 0.0307, 264.96)
HWB
hwb(220.9, 9.4%, 82%)

Harmony colors

Complementary

#2e2718

Analogous

#182a2e
#181f2e
#1c182e

Triadic

#181f2e
#2e181f
#1f2e18

Split-complementary

#181f2e
#2e1c18
#2a2e18

Tetradic

#181f2e
#27182e
#2e2718
#1f2e18

Square

#181f2e
#2e182a
#2e2718
#182e1c

Shades

Color #181f2e mixed toward black.

#141a26
#10151f
#0c0f17
#080a0f
#040508

Tints

Color #181f2e mixed toward white.

#313f5e
#4a608e
#6e84b4
#9fadcd
#cfd6e6

Tones

Color #181f2e mixed toward gray.

#1a202c
#1c202a
#1d2128
#1f2227
#212225

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1b1b2b · ΔE 4.1

Deuteranopia

#1b1a2a · ΔE 4.7

Tritanopia

#182828 · ΔE 12.3

Achromatopsia

#1f1f1f · ΔE 9

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

Code

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

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

#181f2e (#181f2e) is rgb(24, 31, 46) in RGB.

No, #181f2e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #181f2e, 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.