Color #162a4c
A moderately saturated very dark blue.
Conversions
#162a4c
rgb(22, 42, 76)
hsl(217.8, 55.1%, 19.2%)
hsv(217.8, 71.1%, 29.8%)
cmyk(71.1%, 44.7%, 0%, 70.2%)
lab(17.22, 4.78, -23.45)
lch(17.22, 23.93, 281.52)
oklch(28.8%, 0.0677, 260.4)
hwb(217.8, 8.6%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (14.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#202046 · ΔE 6.4
Deuteranopia
#1f1d44 · ΔE 7.3
Tritanopia
#17403f · ΔE 21.5
Achromatopsia
#2a2a2a · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #162a4c;
bg-[#162a4c]
Related colors
Frequently asked questions
#162a4c (#162a4c) is rgb(22, 42, 76) in RGB.
No, #162a4c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #162a4c, or check how it holds up for accessibility.