Cod Gray

#04070B

General Information about #04070B

The hex color code #04070B represents a very dark shade of gray, often referred to as "Cod Gray." It is composed of 1.57% red, 2.75% green, and 4.31% blue. In the RGB color model, it is described as (4, 7, 11). This color lies at the lower end of the luminance spectrum, making it close to black. The hexadecimal system provides a convenient and concise way to represent colors in digital applications, particularly in web design and graphic arts. Colors like #04070B are frequently used for backgrounds, borders, or subtle accents when a darker aesthetic is desired. However, consideration for accessibility is paramount when using such dark shades, particularly with text.

The hex color #04070B, also known as Cod Gray, presents significant accessibility challenges due to its extremely low luminance. Its contrast ratio against white (#FFFFFF) is very low, making it difficult for users with visual impairments to distinguish text or elements using this color. In accordance with WCAG (Web Content Accessibility Guidelines) standards, this color fails to meet the minimum contrast requirements for normal text (4.5:1) and large text (3:1). Therefore, it's crucial to avoid using #04070B as a primary text or background color. When it is absolutely necessary to use this color, always pair it with a very light color to ensure sufficient contrast. Tools like contrast checkers can help assess the compliance with accessibility standards and suggest alternative color combinations.

Shades

Digital Color Formats

RGB
4 7 11
RGB4 7 11
Red
Green
Blue
HSL
214.29deg 46.67% 2.94%
214.2946.672.94HSL
Hue
Saturation
Lightness
HWB
214.29deg 1.57% 95.69%
214.291.5795.69HWB
Hue
Whiteness
Blackness
hex#04070B
rgb4 7 11
hsl214.29deg 46.67% 2.94%
cmyk63.64% 36.36% 0% 95.69%
hwb214.29deg 1.57% 95.69%
xyz-d650 0 0
oklch0.1261 0.0122 248.9
oklab0.1261 0 -0.01
CMYK
63.64% 36.36% 0% 95.69%
63.6436.36095.69CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1261 0.0122 248.9
0.12610.0122248.9LCH
Lightness
Chroma
Hue
OKLAB
0.1261 0 -0.01
0.12610-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons