Cod Gray

#040808

General Information about #040808

The hex color code #040808 represents a very dark shade of gray, almost black. In the RGB color model, it is composed of 1.57% red, 3.14% green, and 3.14% blue. This indicates a near absence of light, resulting in its deep, muted tone. Colors like this are often referred to as 'cool' or 'desaturated' grays due to their lack of vibrant hues. This particular shade sits very close to the black end of the color spectrum. Due to its nature, it is more often used as an accent or background element where a very subtle, dark tone is required, rather than as a primary color. Its muted nature can lend an air of sophistication and subtlety when used appropriately.

The color #040808, also known as Cod Gray, presents significant accessibility challenges due to its extremely low luminance. With such a dark shade, it is crucial to ensure sufficient contrast with any text or foreground elements placed on it. The Web Content Accessibility Guidelines (WCAG) recommend specific contrast ratios for different levels of compliance (AA and AAA). To meet these standards, designers must use very light text colors (e.g., white or near-white) to ensure readability for users, including those with visual impairments. It's imperative to test the color combination using accessibility tools to verify that the contrast ratio meets the minimum requirements. Using this color as the primary background should be carefully considered, and brighter alternatives might be preferred to enhance overall accessibility and user experience. Failure to address contrast issues can exclude users and create a frustrating or unusable experience.

Shades

Digital Color Formats

RGB
4 8 8
RGB4 8 8
Red
Green
Blue
HSL
180 33.33% 2.35%
18033.332.35HSL
Hue
Saturation
Lightness
HWB
180 1.57% 96.86%
1801.5796.86HWB
Hue
Whiteness
Blackness
hex#040808
rgb4 8 8
hsl180 33.33% 2.35%
cmyk50% 0% 0% 96.86%
hwb180 1.57% 96.86%
xyz-d650 0 0
oklch0.1284 0.009 196.18
oklab0.1284 -0.01 0
CMYK
50% 0% 0% 96.86%
500096.86CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1284 0.009 196.18
0.12840.009196.18LCH
Lightness
Chroma
Hue
OKLAB
0.1284 -0.01 0
0.1284-0.010LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons