Cod Gray
General Information about #04070B
The hex color code #04070B represents a very dark shade of gray, often referred to as "Cod Gray." It is composed of 1.57% red, 2.75% green, and 4.31% blue. In the RGB color model, it is described as (4, 7, 11). This color lies at the lower end of the luminance spectrum, making it close to black. The hexadecimal system provides a convenient and concise way to represent colors in digital applications, particularly in web design and graphic arts. Colors like #04070B are frequently used for backgrounds, borders, or subtle accents when a darker aesthetic is desired. However, consideration for accessibility is paramount when using such dark shades, particularly with text.
The hex color #04070B, also known as Cod Gray, presents significant accessibility challenges due to its extremely low luminance. Its contrast ratio against white (#FFFFFF) is very low, making it difficult for users with visual impairments to distinguish text or elements using this color. In accordance with WCAG (Web Content Accessibility Guidelines) standards, this color fails to meet the minimum contrast requirements for normal text (4.5:1) and large text (3:1). Therefore, it's crucial to avoid using #04070B as a primary text or background color. When it is absolutely necessary to use this color, always pair it with a very light color to ensure sufficient contrast. Tools like contrast checkers can help assess the compliance with accessibility standards and suggest alternative color combinations.
Shades
Digital Color Formats
Alternative colors
Applications
Web Development
In web development, #04070B can be used sparingly as a subtle background accent in website headers or footers to create a dark, sophisticated theme. However, it is not recommended for interactive elements or body text due to accessibility concerns. Employing it for decorative lines or dividers can add a touch of elegance without compromising usability. Ensure that any elements layered on this color have sufficient contrast to meet accessibility guidelines.
Interior Design
In interior design, #04070B can serve as an accent color for walls in a modern or minimalist setting. It pairs well with lighter grays, whites, and metallic accents to create a balanced and sophisticated space. This dark gray can also be used for furniture pieces or decorative items, bringing depth and richness to the room. Consider using it in home theaters for its light-absorbing qualities, creating an immersive viewing experience.
Fashion
In fashion, #04070B can be used in clothing designs to achieve a sleek and understated look. It is commonly seen in outerwear, such as jackets or coats, as well as in accessories like belts and shoes. It can be paired with brighter colors for a contrasting effect or with similar dark tones for a monochromatic ensemble. Given its neutral nature, #04070B is a versatile option for various styles and occasions.