Cod Gray

#0C0308

General Information about #0C0308

The hex color #0C0308, also known as Cod Gray, is an extremely dark shade of gray, almost black. It is composed of 4.71% red, 1.18% green, and 3.14% blue. In the RGB color space, it is represented as RGB(12, 3, 8). In the CMYK color model, it consists of 0% cyan, 75% magenta, 33.33% yellow, and 95.29% black. This indicates that it is predominantly black with a slight magenta undertone. The color has a very low lightness value, contributing to its dark appearance. Due to its darkness, it may present challenges in accessibility, particularly in web design, where sufficient contrast is crucial for readability. The name 'Cod Gray' suggests a connection to the color of codfish, though the precise origin and association are not widely documented. This color evokes feelings of sophistication, mystery, and understated elegance, commonly used in applications where a subtle, dark aesthetic is desired.

The hex color #0C0308, also known as Cod Gray, presents significant accessibility challenges, especially in web design. Its extremely low luminance results in very poor contrast against both white and other light backgrounds. This makes text and interface elements difficult to read for all users, and particularly problematic for individuals with visual impairments, such as those with low vision or color blindness. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. #0C0308 falls far short of these recommendations, making it unsuitable for critical elements like body text, form labels, or interactive controls. Using this color requires careful consideration and the implementation of robust contrast testing. Providing high-contrast alternatives and user-adjustable color schemes are essential for ensuring an inclusive and accessible user experience. Thoroughly evaluate color contrast using tools like the WebAIM Contrast Checker or similar utilities.

Shades

Digital Color Formats

RGB
12 3 8
RGB12 3 8
Red
Green
Blue
HSL
326.67deg 60% 2.94%
326.67602.94HSL
Hue
Saturation
Lightness
HWB
326.67deg 1.18% 95.29%
326.671.1895.29HWB
Hue
Whiteness
Blackness
hex#0C0308
rgb12 3 8
hsl326.67deg 60% 2.94%
cmyk0% 75% 33.33% 95.29%
hwb326.67deg 1.18% 95.29%
xyz-d650 0 0
oklch0.1205 0.0259 342.61
oklab0.1205 0.02 -0.01
CMYK
0% 75% 33.33% 95.29%
07533.3395.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1205 0.0259 342.61
0.12050.0259342.61LCH
Lightness
Chroma
Hue
OKLAB
0.1205 0.02 -0.01
0.12050.02-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons