Midnight

#051A32

General Information about #051A32

The hex color code #051A32 represents a very dark shade of blue, often referred to as 'Midnight'. It is composed of 2% red, 10.2% green, and 20% blue. In the RGB color model, it has the values R:5, G:26, B:50. In the CMYK color model, its values are C:90, M:48, Y:0, K:80. This color is best described as a deep, muted, and somewhat mysterious hue. Due to its low brightness value, #051A32 falls into the category of very dark colors, making it suitable for backgrounds where a subtle and understated aesthetic is desired. It is often associated with elegance, sophistication, and a sense of calm. In color psychology, dark blues are often linked to trust, loyalty, and stability.

The color #051A32, a deep, dark shade of midnight, presents significant accessibility challenges, especially when used as a background for text. Its extremely low luminance means that text needs to be a very light color to provide sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using a color like #051A32 for text on a white background would fail miserably. To ensure accessibility, pair this dark color with very light colors such as #FFFFFF (white) or #F0F0F0 (light gray). Tools are available online to check the contrast ratio between two colors to ensure compliance with accessibility standards. When used in graphical elements, ensure sufficient contrast with surrounding elements to allow users to easily distinguish and understand the content. Also, consider that users with visual impairments or color blindness might perceive this color differently, so testing with various color blindness simulators is crucial.

Shades

Digital Color Formats

RGB
5 26 50
RGB5 26 50
Red
Green
Blue
HSL
212deg 81.82% 10.78%
21281.8210.78HSL
Hue
Saturation
Lightness
HWB
212deg 1.96% 80.39%
2121.9680.39HWB
Hue
Whiteness
Blackness
hex#051A32
rgb5 26 50
hsl212deg 81.82% 10.78%
cmyk90% 48% 0% 80.39%
hwb212deg 1.96% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2159 0.0547 253.36
oklab0.2159 -0.02 -0.05
CMYK
90% 48% 0% 80.39%
9048080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2159 0.0547 253.36
0.21590.0547253.36LCH
Lightness
Chroma
Hue
OKLAB
0.2159 -0.02 -0.05
0.2159-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons