Midnight

#051A33

General Information about Midnight (#051A33)

The hexadecimal color code #051A33 represents a dark shade of blue, often referred to as "Midnight." This color is composed of 2% red, 10.2% green, and 20% blue. In the RGB color model, it is defined by the values (5, 26, 51). This dark blue hue evokes feelings of depth, mystery, and sophistication. Colors similar to #051A33 are often associated with the night sky, deep oceans, and the quietude of twilight. It is a versatile color that can be used to create a sense of calm, elegance, or drama, depending on the context and surrounding colors. Understanding the components and associations of this color can help designers and artists effectively incorporate it into their work.

The hex color #051A33, also known as Midnight, presents some accessibility challenges, particularly regarding color contrast. When used as a background color, it is crucial to select foreground text colors that offer sufficient contrast to ensure readability for all users, including those with visual impairments. A light color like #FFFFFF (white) or a bright shade of yellow would be more accessible options. Tools like WebAIM's Color Contrast Checker can be invaluable in verifying that color combinations meet WCAG (Web Content Accessibility Guidelines) standards. Avoid using subtle shades of gray or muted colors as text on this dark background, as they are unlikely to provide adequate contrast. Furthermore, avoid using this color for elements that need to be easily distinguished, such as buttons or interactive elements. Designers should consider providing alternative themes or color palettes to accommodate users with specific visual needs or preferences.

Shades

Digital Color Formats

RGB
5 26 51
RGB5 26 51
Red
Green
Blue
HSL
212.61deg 82.14% 10.98%
212.6182.1410.98HSL
Hue
Saturation
Lightness
HWB
212.61deg 1.96% 80%
212.611.9680HWB
Hue
Whiteness
Blackness
hex#051A33
rgb5 26 51
hsl212.61deg 82.14% 10.98%
cmyk90.2% 49.02% 0% 80%
hwb212.61deg 1.96% 80%
xyz-d650.01 0.01 0.03
oklch0.2167 0.0564 254.16
oklab0.2167 -0.02 -0.05
CMYK
90.2% 49.02% 0% 80%
90.249.02080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2167 0.0564 254.16
0.21670.0564254.16LCH
Lightness
Chroma
Hue
OKLAB
0.2167 -0.02 -0.05
0.2167-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons