Hex Color Code #001A0F — RGB & HSL Conversions
How to use the #001A0F color code in HTML & CSS?
To apply the hex color #001A0F in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #001A0F; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #001A0F; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#001A0F].
What are the RGB and HSL conversion values for #001A0F?
In the digital sRGB color space, the hex value #001A0F is converted to RGB values of Red: 0, Green: 26, and Blue: 15. When analyzed under the HSL model, its coordinates correspond to hue angle 155°, 100% saturation, and 5% lightness. This makes it visually an extremely deep, dark shade with a highly vivid, intense, and brilliant shade.
CMYK print code settings for #001A0F
When converting #001A0F for CMYK printing, the color separation consists of 100% Cyan, 0% Magenta, 42% Yellow, and 90% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #001A0F Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #001A0F
Small body copy preview
Black text readability test with #001A0F
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #001A0F;
--color-rgb: rgb(0, 26, 15);
--color-hsl: hsl(155deg, 100%, 5%);