Cod Gray

#020C0D

General Information about #020C0D

The hex color code #020c0d, also known as Cod Gray, represents a very dark shade of gray that is almost black. It is composed of 0.78% red, 4.71% green, and 5.1% blue. In the RGB color model, it is defined as (2, 12, 13). This color sits at the lower end of the luminance spectrum, making it a subtle and understated choice. Colors like this are often used to create a feeling of sophistication, mystery, or depth. Due to its darkness, it reflects very little light and tends to absorb most wavelengths, contributing to its muted appearance. In digital design, it is crucial to consider its accessibility implications, especially concerning text legibility against light backgrounds.

The hex color #020c0d, also known as Cod Gray, presents significant accessibility challenges due to its extremely low luminance. With such a dark shade, it's crucial to ensure sufficient contrast with any foreground text or interactive elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Given the darkness of #020c0d, only very light colors like white or pale yellow would meet these contrast requirements. In practical web design, avoid using #020c0d for text, icons, or critical interface components unless paired with extremely light backgrounds. Consider alternatives or lighter shades to improve readability and usability for users with visual impairments. Proper contrast ensures that content is perceivable to a wide range of users, including those with low vision or color deficiencies. Always test color combinations using accessibility evaluation tools.

Shades

Digital Color Formats

RGB
2 12 13
RGB2 12 13
Red
Green
Blue
HSL
185.45deg 73.33% 2.94%
185.4573.332.94HSL
Hue
Saturation
Lightness
HWB
185.45deg 0.78% 94.9%
185.450.7894.9HWB
Hue
Whiteness
Blackness
hex#020C0D
rgb2 12 13
hsl185.45deg 73.33% 2.94%
cmyk84.62% 7.69% 0% 94.9%
hwb185.45deg 0.78% 94.9%
xyz-d650 0 0
oklch0.1429 0.019 201.89
oklab0.1429 -0.02 -0.01
CMYK
84.62% 7.69% 0% 94.9%
84.627.69094.9CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1429 0.019 201.89
0.14290.019201.89LCH
Lightness
Chroma
Hue
OKLAB
0.1429 -0.02 -0.01
0.1429-0.02-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons