Color #040f0b
A moderately saturated very dark green.
Conversions
#040f0b
rgb(4, 15, 11)
hsl(158.2, 57.9%, 3.7%)
hsv(158.2, 73.3%, 5.9%)
cmyk(73.3%, 0%, 26.7%, 94.1%)
lab(3.54, -3.72, 0.7)
lch(3.54, 3.79, 169.34)
oklch(15.5%, 0.0202, 170.86)
hwb(158.2, 1.6%, 94.1%)
Harmony colors
Accessibility
White text reads better on this background (19.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#09090c · ΔE 5.9
Deuteranopia
#08080c · ΔE 6.2
Tritanopia
#050d0d · ΔE 2.4
Achromatopsia
#0d0d0d · ΔE 5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #040f0b;
bg-[#040f0b]
Related colors
Frequently asked questions
#040f0b (#040f0b) is rgb(4, 15, 11) in RGB.
No, #040f0b 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 #040f0b, or check how it holds up for accessibility.