Blue Charcoal

#040C1C

General Information

The hexadecimal color code #040C1C, often referred to as Blue Charcoal, represents a very dark shade of blue with a subtle charcoal undertone. It is composed of 1.57% red, 4.71% green, and 11% blue. In the RGB color space, it has values of R:4, G:12, and B:28. The color has a subdued presence and evokes feelings of depth, sophistication, and calmness. Colors similar to it include dark blues, charcoals, and deep grays. This color can be effective in creating a sense of mystery or solemnity. The color has very low saturation and high darkness, making it suitable for backgrounds where other content should be emphasized.

The hex color #040C1C, also known as Blue Charcoal, presents several accessibility considerations for web development. With extremely low brightness and contrast, it is crucial to ensure sufficient contrast ratios when pairing it with text or other interface elements. According to WCAG guidelines, text elements should have a contrast ratio of at least 4.5:1 against their background for normal text and 3:1 for large text to meet AA compliance. For AAA compliance, these ratios increase to 7:1 and 4.5:1, respectively. Using #040C1C as a background necessitates very light text colors, such as white or very pale shades of yellow or green, to achieve these required contrast levels. Moreover, avoid using this color for crucial visual elements like buttons or links without careful consideration of its impact on users with visual impairments. Providing alternative visual cues or labels alongside color can enhance accessibility for all users.

Shades

Digital Color Formats

RGB
4 12 28
RGB4 12 28
Red
Green
Blue
HSL
220deg 75% 6.27%
220756.27HSL
Hue
Saturation
Lightness
HWB
220deg 1.57% 89.02%
2201.5789.02HWB
Hue
Whiteness
Blackness
hex#040C1C
rgb4 12 28
hsl220deg 75% 6.27%
cmyk85.71% 57.14% 0% 89.02%
hwb220deg 1.57% 89.02%
xyz-d650 0 0.01
oklch0.1558 0.0373 260.02
oklab0.1558 -0.01 -0.04
CMYK
85.71% 57.14% 0% 89.02%
85.7157.14089.02CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0.01
000.01XYZ
X
Y
Z
OKLCH
0.1558 0.0373 260.02
0.15580.0373260.02LCH
Lightness
Chroma
Hue
OKLAB
0.1558 -0.01 -0.04
0.1558-0.01-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons