Cod Gray

#040A09

General Information

The hexadecimal color code #040A09 represents a very dark shade of gray, often referred to as Cod Gray. It is composed of 1.57% red, 3.92% green, and 3.53% blue. In the RGB color model, this translates to 4 red, 10 green, and 9 blue. The color has a hue angle of 165 degrees, a saturation of 42.9%, and a lightness of 2.7%. In terms of perceived brightness, #040A09 is quite low, making it a color primarily suitable for backgrounds when paired with significantly lighter foreground elements. Understanding these attributes is crucial for designers aiming to use this color effectively in various applications.

The hex color #040A09, a very dark shade of gray also known as Cod Gray, presents significant accessibility challenges, especially in text and user interface design. Its extremely low luminance value means that it requires very light foreground colors to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text. Using #040A09 as a background color necessitates careful selection of foreground colors to meet these standards. Designers should rigorously test color combinations using accessibility tools to avoid creating barriers for users with visual impairments. Failure to do so can result in content that is difficult or impossible to read for a significant portion of the user base.

Shades

Digital Color Formats

RGB
4 10 9
RGB4 10 9
Red
Green
Blue
HSL
170deg 42.86% 2.75%
17042.862.75HSL
Hue
Saturation
Lightness
HWB
170deg 1.57% 96.08%
1701.5796.08HWB
Hue
Whiteness
Blackness
hex#040A09
rgb4 10 9
hsl170deg 42.86% 2.75%
cmyk60% 0% 10% 96.08%
hwb170deg 1.57% 96.08%
xyz-d650 0 0
oklch0.1365 0.0122 185.26
oklab0.1365 -0.01 0
CMYK
60% 0% 10% 96.08%
6001096.08CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1365 0.0122 185.26
0.13650.0122185.26LCH
Lightness
Chroma
Hue
OKLAB
0.1365 -0.01 0
0.1365-0.010LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons