Midnight

#051330

General Information about #051330

The hex color code #051330, often referred to as 'Midnight', is a very dark shade of blue, bordering on black. It is composed of 2% red, 7% green, and 19% blue. In the RGB color model, it has the values (5, 19, 48). This color is best described as a deep, muted, and somewhat mysterious color. The low saturation and value indicate a subdued and calming effect. Colors similar to #051330 are often associated with night, darkness, and sophistication. In color psychology, dark blues can evoke feelings of trust, stability, and intelligence. However, due to its darkness, it should be used carefully in design to ensure sufficient contrast and readability.

The hex color #051330, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. With very low luminance, it offers minimal contrast against most background colors, particularly white or light shades. This can make text or graphical elements rendered in this color nearly illegible for individuals with visual impairments, including those with low vision or color blindness. Web developers must exercise extreme caution when using #051330. It is crucial to ensure a high contrast ratio, ideally exceeding the WCAG (Web Content Accessibility Guidelines) recommended ratios of 4.5:1 for standard text and 3:1 for large text. This might involve pairing it with a very light color such as white or a pale yellow. Furthermore, developers should provide alternative styling options for users who may need to adjust the color scheme for better readability. Avoiding the use of this color for essential information is highly recommended unless stringent contrast requirements are met and tested thoroughly with accessibility tools.

Shades

Digital Color Formats

RGB
5 19 48
RGB5 19 48
Red
Green
Blue
HSL
220.47 81.13% 10.39%
220.4781.1310.39HSL
Hue
Saturation
Lightness
HWB
220.47 1.96% 81.18%
220.471.9681.18HWB
Hue
Whiteness
Blackness
hex#051330
rgb5 19 48
hsl220.47 81.13% 10.39%
cmyk89.58% 60.42% 0% 81.18%
hwb220.47 1.96% 81.18%
xyz0.83 0.71 2.89
CMYK
89.58% 60.42% 0% 81.18%
89.5860.42081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.83 0.71 2.89
0.830.712.89XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025