Color #161821
A muted very dark blue.
Conversions
#161821
rgb(22, 24, 33)
hsl(229.1, 20%, 10.8%)
hsv(229.1, 33.3%, 12.9%)
cmyk(33.3%, 27.3%, 0%, 87.1%)
lab(8.43, 1.73, -6.56)
lch(8.43, 6.78, 284.77)
oklch(21.1%, 0.0181, 275.08)
hwb(229.1, 8.6%, 87.1%)
Harmony colors
Accessibility
White text reads better on this background (17.7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#17171f · ΔE 1.2
Deuteranopia
#17171f · ΔE 1.2
Tritanopia
#161d1d · ΔE 8.1
Achromatopsia
#181818 · ΔE 6.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #161821;
bg-[#161821]
Related colors
Frequently asked questions
#161821 (#161821) is rgb(22, 24, 33) in RGB.
No, #161821 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #161821, or check how it holds up for accessibility.