Color #04162f
A vivid, highly saturated very dark blue.
Conversions
#04162f
rgb(4, 22, 47)
hsl(214.9, 84.3%, 10%)
hsv(214.9, 91.5%, 18.4%)
cmyk(91.5%, 53.2%, 0%, 81.6%)
lab(7.27, 3.48, -18.91)
lch(7.27, 19.23, 280.43)
oklch(20.1%, 0.0559, 256.24)
hwb(214.9, 1.6%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (18.09:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0d0e2a · ΔE 5.3
Deuteranopia
#0c0b29 · ΔE 5.8
Tritanopia
#052625 · ΔE 19.1
Achromatopsia
#161616 · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #04162f;
bg-[#04162f]
Related colors
Frequently asked questions
#04162f (#04162f) is rgb(4, 22, 47) in RGB.
No, #04162f 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 #04162f, or check how it holds up for accessibility.