Midnight

#051A30

General Information About Midnight (#051A30)

The hex color #051A30, often referred to as Midnight, is a very dark shade of blue, almost appearing black to the naked eye in certain lighting conditions. It resides within the blue color family but leans towards the darker end of the spectrum. In the RGB (Red, Green, Blue) color model, it is composed of 2% red, 10.2% green, and 18.8% blue. Its corresponding values in the CMYK (Cyan, Magenta, Yellow, Key/Black) color model are 89% cyan, 45% magenta, 0% yellow, and 81% black. This indicates that it requires a significant amount of cyan and black to achieve its deep hue. The color conveys sophistication, mystery, and depth, making it suitable for designs aiming to evoke a sense of elegance or seriousness. Its low luminosity makes it a challenging color for accessibility if not paired with sufficient contrast.

The hex color #051A30, also known as Midnight, presents significant accessibility challenges. Its very dark hue results in extremely low contrast against typical light backgrounds, such as white (#FFFFFF). This lack of contrast can make text and interface elements difficult or impossible to read for users with visual impairments, including those with low vision or color blindness. According to WCAG (Web Content Accessibility Guidelines), sufficient contrast ratios are crucial for ensuring readability. For small text, a contrast ratio of at least 4.5:1 is recommended, while large text requires a ratio of 3:1. Midnight likely fails to meet these standards when paired with light backgrounds. To improve accessibility, consider using lighter text colors like whites or bright yellows, or using Midnight sparingly for decorative elements rather than essential content. Alternatively, pair it with colors from a grayscale palette, such as light gray.

Shades

Digital Color Formats

RGB
5 26 48
RGB5 26 48
Red
Green
Blue
HSL
210.7deg 81.13% 10.39%
210.781.1310.39HSL
Hue
Saturation
Lightness
HWB
210.7deg 1.96% 81.18%
210.71.9681.18HWB
Hue
Whiteness
Blackness
hex#051A30
rgb5 26 48
hsl210.7deg 81.13% 10.39%
cmyk89.58% 45.83% 0% 81.18%
hwb210.7deg 1.96% 81.18%
xyz-d650.01 0.01 0.03
oklch0.2143 0.0514 251.55
oklab0.2143 -0.02 -0.05
CMYK
89.58% 45.83% 0% 81.18%
89.5845.83081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2143 0.0514 251.55
0.21430.0514251.55LCH
Lightness
Chroma
Hue
OKLAB
0.2143 -0.02 -0.05
0.2143-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons