Midnight

#051E35

General Information about Midnight (#051E35)

The hex color #051E35, often referred to as Midnight, is a deep, dark shade of blue, reminiscent of the night sky just before dawn or the darkest depths of the ocean. It is characterized by very low levels of red, green, and blue, which contributes to its subdued and almost black-like appearance. In the RGB color model, #051E35 consists of 2% red, 12% green, and 21% blue. Due to its darkness, it is rarely used as a primary color in design but rather as an accent or background to provide depth and sophistication. The color belongs to the family of dark blues and is often associated with calmness, mystery, and elegance. When working with #051E35, it's vital to consider contrast and legibility, ensuring that any elements placed against it are easily visible and accessible.

The hex color #051E35, also known as Midnight, presents significant accessibility challenges due to its very dark nature. Its low luminance results in extremely poor contrast against light backgrounds, making text or interactive elements nearly invisible to users. This is particularly problematic for individuals with visual impairments or color vision deficiencies. To ensure accessibility, it is crucial to pair Midnight with very light colors such as #FFFFFF or shades of yellow and orange that provide a sufficient contrast ratio meeting WCAG (Web Content Accessibility Guidelines) standards. Without adequate contrast, content becomes unusable, violating basic accessibility principles. Developers should meticulously test color combinations using accessibility tools to verify compliance and provide an inclusive user experience. Avoid using Midnight as a background color behind large amounts of text or intricate graphics if possible, as this further exacerbates readability issues. If it must be used, ensure that all foreground elements have appropriate alternative styling or that users have the option to adjust the color scheme.

Shades

Digital Color Formats

RGB
5 30 53
RGB5 30 53
Red
Green
Blue
HSL
208.75deg 82.76% 11.37%
208.7582.7611.37HSL
Hue
Saturation
Lightness
HWB
208.75deg 1.96% 79.22%
208.751.9679.22HWB
Hue
Whiteness
Blackness
hex#051E35
rgb5 30 53
hsl208.75deg 82.76% 11.37%
cmyk90.57% 43.4% 0% 79.22%
hwb208.75deg 1.96% 79.22%
xyz-d650.01 0.01 0.04
oklch0.2298 0.0543 249.34
oklab0.2298 -0.02 -0.05
CMYK
90.57% 43.4% 0% 79.22%
90.5743.4079.22CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2298 0.0543 249.34
0.22980.0543249.34LCH
Lightness
Chroma
Hue
OKLAB
0.2298 -0.02 -0.05
0.2298-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons