Color #161f34
A moderately saturated very dark blue.
Conversions
#161f34
rgb(22, 31, 52)
hsl(222, 40.5%, 14.5%)
hsv(222, 57.7%, 20.4%)
cmyk(57.7%, 40.4%, 0%, 79.6%)
lab(11.95, 3.27, -15.05)
lch(11.95, 15.4, 282.26)
oklch(24.2%, 0.0425, 265.68)
hwb(222, 8.6%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a30 · ΔE 4.4
Deuteranopia
#1a192f · ΔE 5
Tritanopia
#172c2b · ΔE 16.5
Achromatopsia
#1f1f1f · ΔE 11.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #161f34;
bg-[#161f34]
Related colors
Frequently asked questions
#161f34 (#161f34) is rgb(22, 31, 52) in RGB.
No, #161f34 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 #161f34, or check how it holds up for accessibility.