Midnight

#051E34

General Information about Midnight (#051E34)

The hex color #051E34, often referred to as Midnight, is a dark shade of blue residing within the broader spectrum of cool colors. It's composed of 1.96% red, 11.76% green, and 20.39% blue. In the RGB color space, its numerical representation is (5, 30, 52). This color conveys feelings of depth, tranquility, and sophistication. In color psychology, dark blues are often associated with trustworthiness, stability, and professionalism, making them popular choices for corporate branding and visual identities. The color is not found in the list of web safe colors. It finds application in various fields, like web design, interior decoration, and fashion. Due to its dark and muted character, it serves to highlight elements and content, while being implemented in combination with lighter colors.

The hex color #051E34, also known as Midnight, presents some accessibility challenges, particularly in text applications. Due to its very dark nature, it requires careful consideration of contrast ratios to ensure readability for users, including those with visual impairments. According to WCAG guidelines, sufficient contrast between text and background is crucial for accessibility. For normal text (14pt or 18px and above), a contrast ratio of at least 4.5:1 is recommended, while for large text (18pt or 24px and above), a ratio of 3:1 is acceptable. When using #051E34 as a background color, it's essential to pair it with very light text colors like white (#FFFFFF) or very light gray to meet these contrast requirements. Tools are available online to check contrast ratios and help developers choose accessible color combinations. If using this color for interactive elements such as buttons or links, additional visual cues like underlines or borders should be added to enhance usability, especially for users with color blindness. Also avoid using #051E34 for small details, icons, or thin lines as they may become invisible against a dark background, hindering the user experience.

Shades

Digital Color Formats

RGB
5 30 52
RGB5 30 52
Red
Green
Blue
HSL
208.09deg 82.46% 11.18%
208.0982.4611.18HSL
Hue
Saturation
Lightness
HWB
208.09deg 1.96% 79.61%
208.091.9679.61HWB
Hue
Whiteness
Blackness
hex#051E34
rgb5 30 52
hsl208.09deg 82.46% 11.18%
cmyk90.38% 42.31% 0% 79.61%
hwb208.09deg 1.96% 79.61%
xyz-d650.01 0.01 0.03
oklch0.229 0.0528 248.31
oklab0.229 -0.02 -0.05
CMYK
90.38% 42.31% 0% 79.61%
90.3842.31079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.229 0.0528 248.31
0.2290.0528248.31LCH
Lightness
Chroma
Hue
OKLAB
0.229 -0.02 -0.05
0.229-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons