Dark Blue

#040CD2

General Information about #040CD2

The hexadecimal color code #040CD2 represents a dark shade of blue. It is composed of 1.57% red, 4.71% green, and 82.35% blue. In the RGB color model, this translates to R:4, G:12, B:210. In the CMYK color model, the color is composed of 98.1% cyan, 94.3% magenta, 0% yellow, and 17.6% black. Its hue is 243 degrees, saturation is 96.3%, and lightness is 42%. This color is often associated with depth, stability, and professionalism, and it can evoke feelings of trust and authority. In web design, it's important to consider the contrast ratio of this color with text and background colors to ensure accessibility for all users.

The color #040CD2, a deep, dark blue, presents significant accessibility challenges, especially when used as text or interactive elements. Its low luminance contrast against typical light backgrounds (like white) makes it difficult for users with visual impairments to discern. According to WCAG guidelines, sufficient contrast ratios are crucial for readability and usability. To improve accessibility, it is recommended to pair this dark blue with very light colors, such as shades of white, very light grays, or light yellows. For text, consider increasing the font size or using a bolder font weight to enhance legibility. When using this color for interactive elements, ensure a clear visual cue is provided on hover or focus, such as a contrasting border or background color change. Additionally, avoid using this color in scenarios where color is the sole means of conveying information, as it will exclude users with color vision deficiencies.

Shades

Digital Color Formats

RGB
4 12 210
RGB4 12 210
Red
Green
Blue
HSL
237.67 96.26% 41.96%
237.6796.2641.96HSL
Hue
Saturation
Lightness
HWB
237.67 1.57% 17.65%
237.671.5717.65HWB
Hue
Whiteness
Blackness
hex#040CD2
rgb4 12 210
hsl237.67 96.26% 41.96%
cmyk98.1% 94.29% 0% 17.65%
hwb237.67 1.57% 17.65%
xyz11.81 4.94 61.3
CMYK
98.1% 94.29% 0% 17.65%
98.194.29017.65CMYK
Cyan
Magenta
Yellow
Key
XYZ
11.81 4.94 61.3
11.814.9461.3XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025