Midnight

#051731

General Information about #051731

The hexadecimal color code #051731, also known as Midnight, represents a very dark shade of blue, almost approaching black. It is composed of 2% red, 9% green, and 19.2% blue. In the RGB color model, this translates to 5 red, 23 green, and 49 blue. The corresponding CMYK color code is 90% cyan, 53% magenta, 0% yellow, and 81% black. This color is often associated with feelings of calmness, sophistication, and mystery. Its low saturation and dark luminance make it suitable for backgrounds and situations where a subtle, unobtrusive color is desired. It is frequently used in digital design, fashion, and interior decorating to evoke a sense of depth and elegance.

The color #051731, also known as Midnight, presents significant accessibility challenges. Its extremely dark hue results in very low contrast against lighter backgrounds, making it difficult for individuals with visual impairments to read text or discern elements using this color. Web Content Accessibility Guidelines (WCAG) emphasize a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text to ensure readability. Midnight falls far short of these recommendations when paired with common background colors like white or light gray. To improve accessibility, consider using lighter text colors such as white, off-white, or light gray. Careful adjustment is required to achieve sufficient contrast and comply with accessibility standards, ensuring inclusivity for all users. The dark nature also means it shouldn't be used for interactive elements without considering the change of state.

Shades

Digital Color Formats

RGB
5 23 49
RGB5 23 49
Red
Green
Blue
HSL
215.45deg 81.48% 10.59%
215.4581.4810.59HSL
Hue
Saturation
Lightness
HWB
215.45deg 1.96% 80.78%
215.451.9680.78HWB
Hue
Whiteness
Blackness
hex#051731
rgb5 23 49
hsl215.45deg 81.48% 10.59%
cmyk89.8% 53.06% 0% 80.78%
hwb215.45deg 1.96% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2065 0.0573 257.22
oklab0.2065 -0.01 -0.06
CMYK
89.8% 53.06% 0% 80.78%
89.853.06080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2065 0.0573 257.22
0.20650.0573257.22LCH
Lightness
Chroma
Hue
OKLAB
0.2065 -0.01 -0.06
0.2065-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons