Color #161f37
A moderately saturated very dark blue.
Conversions
#161f37
rgb(22, 31, 55)
hsl(223.6, 42.9%, 15.1%)
hsv(223.6, 60%, 21.6%)
cmyk(60%, 43.6%, 0%, 78.4%)
lab(12.13, 4.44, -16.91)
lch(12.13, 17.48, 284.71)
oklch(24.4%, 0.0479, 267.25)
hwb(223.6, 8.6%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (16.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a32 · ΔE 4
Deuteranopia
#1a1931 · ΔE 4.5
Tritanopia
#172e2d · ΔE 18.2
Achromatopsia
#202020 · ΔE 12.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #161f37;
bg-[#161f37]
Related colors
Frequently asked questions
#161f37 (#161f37) is rgb(22, 31, 55) in RGB.
No, #161f37 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 #161f37, or check how it holds up for accessibility.