Cod Gray

#040F0D

General Information about #040F0D

The hexadecimal color code #040F0D represents a very dark shade of gray, often referred to as 'Cod Gray'. This color is composed of 1.57% red, 5.88% green, and 5.1% blue. In the RGB color model, it is created by mixing these three primary colors in very small amounts. The color is perceived as a near-black hue, leaning slightly towards the green spectrum. Because of its low luminance value, #040F0D tends to absorb most of the light that hits it, making it appear very dark and subdued. In color theory, it serves as a neutral tone that can provide a backdrop for brighter, more vibrant colors, allowing them to stand out more effectively. However, due to its darkness, careful consideration is required to ensure proper contrast when used with other design elements.

The color #040F0D, also known as Cod Gray, presents significant accessibility challenges due to its low luminance. With such a dark hue, it is crucial to ensure sufficient contrast when used for text or interactive elements. According to WCAG guidelines, text should have a contrast ratio of at least 4.5:1 against its background to be considered accessible for users with visual impairments. This color may not meet those standards when paired with many other colors, especially darker shades. Therefore, it is best to avoid using #040F0D for text or interactive elements unless paired with very light colors to ensure readability and usability. Consider using color contrast checking tools during development to verify compliance with accessibility standards, ensuring a better user experience for everyone.

Shades

Digital Color Formats

RGB
4 15 13
RGB4 15 13
Red
Green
Blue
HSL
169.09 57.89% 3.73%
169.0957.893.73HSL
Hue
Saturation
Lightness
HWB
169.09 1.57% 94.12%
169.091.5794.12HWB
Hue
Whiteness
Blackness
hex#040F0D
rgb4 15 13
hsl169.09 57.89% 3.73%
cmyk73.33% 0% 13.33% 94.12%
hwb169.09 1.57% 94.12%
xyz-d650 0 0
oklch0.156 0.0186 182.38
oklab0.156 -0.02 0
CMYK
73.33% 0% 13.33% 94.12%
73.33013.3394.12CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.156 0.0186 182.38
0.1560.0186182.38LCH
Lightness
Chroma
Hue
OKLAB
0.156 -0.02 0
0.156-0.020LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons