Cod Gray

#0C0306

About Cod Gray

The hexadecimal color code #0C0306 represents a very dark shade of gray, often referred to as "Cod Gray." It is composed of 4.71% red, 1.18% green, and 2.35% blue. In the RGB color model, this translates to R:12, G:3, B:6. The HSL (hue, saturation, lightness) values are H:330 degrees, S:60%, L:3%. This indicates a color with a reddish-purple hue, high saturation, and very low lightness, confirming its dark appearance. Colors close to #0C0306 are generally associated with sophistication, mystery, and depth. Due to its darkness, it's crucial to consider contrast when using this color in design, particularly for text readability.

The color #0C0306, also known as Cod Gray, presents significant accessibility challenges, especially in web design. Its extremely low luminance (very dark) means that text or interactive elements using this color as a background would require very light text to ensure sufficient contrast. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #0C0306 as a background color makes it difficult to achieve these ratios with many typical text colors. Therefore, using this color requires careful selection of foreground colors and thorough testing with accessibility tools to ensure readability and usability for users, including those with visual impairments. It's also advisable to provide alternative color schemes that offer better contrast options.

Shades

Digital Color Formats

RGB
12 3 6
RGB12 3 6
Red
Green
Blue
HSL
340deg 60% 2.94%
340602.94HSL
Hue
Saturation
Lightness
HWB
340deg 1.18% 95.29%
3401.1895.29HWB
Hue
Whiteness
Blackness
hex#0C0306
rgb12 3 6
hsl340deg 60% 2.94%
cmyk0% 75% 50% 95.29%
hwb340deg 1.18% 95.29%
xyz-d650 0 0
oklch0.1192 0.0237 354.42
oklab0.1192 0.02 0
CMYK
0% 75% 50% 95.29%
0755095.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1192 0.0237 354.42
0.11920.0237354.42LCH
Lightness
Chroma
Hue
OKLAB
0.1192 0.02 0
0.11920.020LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons