Color #040b1d
A vivid, highly saturated very dark blue.
Conversions
#040b1d
rgb(4, 11, 29)
hsl(223.2, 75.8%, 6.5%)
hsv(223.2, 86.2%, 11.4%)
cmyk(86.2%, 62.1%, 0%, 88.6%)
lab(3.2, 2.26, -11.53)
lch(3.2, 11.75, 281.09)
oklch(15.4%, 0.0408, 263.24)
hwb(223.2, 1.6%, 88.6%)
Harmony colors
Accessibility
White text reads better on this background (19.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#07071a · ΔE 2.4
Deuteranopia
#070619 · ΔE 2.8
Tritanopia
#041716 · ΔE 13.2
Achromatopsia
#0c0c0c · ΔE 9.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #040b1d;
bg-[#040b1d]
Related colors
Frequently asked questions
#040b1d (#040b1d) is rgb(4, 11, 29) in RGB.
No, #040b1d 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 #040b1d, or check how it holds up for accessibility.