Dark Blue

#040CB0

General Information about #040CB0

The hexadecimal color code #040CB0 represents a specific point in the blue spectrum. It is a dark shade of blue, often associated with depth, stability, and sophistication. In the RGB (Red, Green, Blue) color model, #040CB0 is composed of 1.57% red, 4.71% green, and 69.02% blue. This composition explains the strong blue dominance in the color. In the CMYK (Cyan, Magenta, Yellow, Black) color model, it is composed of 98% cyan, 93% magenta, 0% yellow, and 31% black. Hexadecimal color codes are widely used in HTML, CSS, and other web technologies to define colors for web pages and other digital media. They offer a precise and standardized way to represent colors across different devices and platforms.

The hex color #040CB0, a deep dark blue, presents several accessibility considerations for web design. Its low luminance value (relative darkness) means that careful attention must be paid to color contrast. When used as a background color, it requires very light text (white or near-white) to ensure sufficient contrast for readability, meeting WCAG (Web Content Accessibility Guidelines) standards for level AA and AAA compliance. Conversely, using #040CB0 as a text color necessitates a light background. Avoid pairing it with colors of similar darkness, like blacks or dark grays, as this results in poor visibility, frustrating users and hindering accessibility, especially for individuals with visual impairments. Tools such as contrast checkers are essential to verifying compliance and ensuring inclusive design. Furthermore, consider providing alternative visual cues alongside color to convey information, thus not relying solely on color differentiation.

Shades

Digital Color Formats

RGB
4 12 176
RGB4 12 176
Red
Green
Blue
HSL
237.21 95.56% 35.29%
237.2195.5635.29HSL
Hue
Saturation
Lightness
HWB
237.21 1.57% 30.98%
237.211.5730.98HWB
Hue
Whiteness
Blackness
hex#040CB0
rgb4 12 176
hsl237.21 95.56% 35.29%
cmyk97.73% 93.18% 0% 30.98%
hwb237.21 1.57% 30.98%
xyz8.02 3.42 41.31
CMYK
97.73% 93.18% 0% 30.98%
97.7393.18030.98CMYK
Cyan
Magenta
Yellow
Key
XYZ
8.02 3.42 41.31
8.023.4241.31XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025