Color #161f38
A moderately saturated very dark blue.
Conversions
#161f38
rgb(22, 31, 56)
hsl(224.1, 43.6%, 15.3%)
hsv(224.1, 60.7%, 22%)
cmyk(60.7%, 44.6%, 0%, 78%)
lab(12.2, 4.84, -17.52)
lch(12.2, 18.18, 285.44)
oklch(24.5%, 0.0496, 267.69)
hwb(224.1, 8.6%, 78%)
Harmony colors
Accessibility
White text reads better on this background (16.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a33 · ΔE 3.9
Deuteranopia
#1a1932 · ΔE 4.3
Tritanopia
#172f2e · ΔE 18.8
Achromatopsia
#202020 · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #161f38;
bg-[#161f38]
Related colors
Frequently asked questions
#161f38 (#161f38) is rgb(22, 31, 56) in RGB.
No, #161f38 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 #161f38, or check how it holds up for accessibility.