Cod Gray

#02080C

General Information about #02080C

The hexadecimal color code #02080C represents a very dark shade of gray, often referred to as 'Cod Gray'. It is composed of 0.78% red, 3.14% green, and 4.71% blue. In the RGB color space, it is defined by the values R:2, G:8, and B:12. In the CMYK color space, it is composed of 83.33% cyan, 33.33% magenta, 0% yellow, and 95.29% black. The color has a hue angle of 200 degrees, a saturation of 83.3%, and a lightness of 2.7%. This color is very close to black and has a very low luminance value of approximately 0.3. Colors similar to #02080C are often used to convey sophistication, mystery, or a sense of understated elegance.

The color #02080C, a very dark, almost black shade of gray, presents significant accessibility challenges, especially in web design. Its extremely low luminance value means that it provides minimal contrast against most backgrounds, including the standard white background. This lack of contrast makes it difficult for users with visual impairments, such as those with low vision or color blindness, to distinguish text or other elements rendered in this color. Adherence to WCAG (Web Content Accessibility Guidelines) is crucial. To meet the contrast ratio requirements for Level AA compliance (4.5:1 for normal text and 3:1 for large text), designers must use very light text colors when using #02080C as a background. For Level AAA compliance (7:1 for normal text and 4.5:1 for large text), even lighter text may be necessary. Careful consideration should be given to the context in which this color is used to ensure usability for all users.

Shades

Digital Color Formats

RGB
2 8 12
RGB2 8 12
Red
Green
Blue
HSL
204deg 71.43% 2.75%
20471.432.75HSL
Hue
Saturation
Lightness
HWB
204deg 0.78% 95.29%
2040.7895.29HWB
Hue
Whiteness
Blackness
hex#02080C
rgb2 8 12
hsl204deg 71.43% 2.75%
cmyk83.33% 33.33% 0% 95.29%
hwb204deg 0.78% 95.29%
xyz-d650 0 0
oklch0.1276 0.0171 228.36
oklab0.1276 -0.01 -0.01
CMYK
83.33% 33.33% 0% 95.29%
83.3333.33095.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1276 0.0171 228.36
0.12760.0171228.36LCH
Lightness
Chroma
Hue
OKLAB
0.1276 -0.01 -0.01
0.1276-0.01-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons