Cod Gray

#04060A

General Information

The hex color code #04060A represents a very dark shade of gray, often referred to as "Cod Gray" due to its resemblance to the color of cod liver oil. It is composed of 1.57% red, 2.35% green, and 3.92% blue. In the RGB color space, it has the values R:4, G:6, B:10. The perceived darkness of this color stems from its low values across all three color channels, resulting in a very low luminance. This color is primarily used to create a dark or subdued aesthetic. It is rarely used as a primary color due to its dark nature, instead it is frequently used as a background color in modern and dark-themed designs.

The hex color #04060A, a very dark shade of gray, presents significant accessibility challenges, primarily due to its extremely low luminance. When used as a foreground color for text or interactive elements, it requires a background color with exceptionally high brightness to ensure sufficient contrast. According to WCAG (Web Content Accessibility Guidelines), the minimum contrast ratio for normal text is 4.5:1, and for large text, it's 3:1. This dark shade will likely fail to meet these standards against most background colors. Therefore, it is essential to pair #04060A with very light colors, such as white or light yellow, to provide adequate contrast. It's crucial to test the color combination with accessibility evaluation tools to verify compliance with WCAG guidelines and ensure readability for users with visual impairments. Avoid using this color for critical information or calls to action unless the contrast is carefully managed. Consider providing alternative high-contrast themes for users who may have difficulty perceiving low-contrast elements.

Shades

Digital Color Formats

RGB
4 6 10
RGB4 6 10
Red
Green
Blue
HSL
220deg 42.86% 2.75%
22042.862.75HSL
Hue
Saturation
Lightness
HWB
220deg 1.57% 96.08%
2201.5796.08HWB
Hue
Whiteness
Blackness
hex#04060A
rgb4 6 10
hsl220deg 42.86% 2.75%
cmyk60% 40% 0% 96.08%
hwb220deg 1.57% 96.08%
xyz-d650 0 0
oklch0.1212 0.0118 258.73
oklab0.1212 0 -0.01
CMYK
60% 40% 0% 96.08%
6040096.08CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1212 0.0118 258.73
0.12120.0118258.73LCH
Lightness
Chroma
Hue
OKLAB
0.1212 0 -0.01
0.12120-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons