Midnight Blue

#042E63

General Information about Midnight Blue

The hexadecimal color #042E63, commonly known as Midnight Blue, is a dark shade of blue. It is composed of 1.57% red, 18.04% green, and 38.82% blue. In the RGB color space, it consists of 4 red, 46 green, and 99 blue. This color is frequently used in designs where a sense of professionalism, calmness, and depth is desired. Midnight Blue can be found in various applications, from website designs and corporate branding to interior design and fashion. Its dark hue can create a sophisticated and formal appearance, often associated with trustworthiness and stability. When working with #042E63, it is important to consider its low luminance value, which can affect readability and accessibility, especially in text applications. Careful contrast management is key to ensure its effectiveness in design.

The color #042E63, a deep midnight blue, presents accessibility challenges, particularly for users with visual impairments. Its low luminance value (around 4) means that text rendered in this color requires very high contrast against a light background to meet WCAG (Web Content Accessibility Guidelines) standards for readability. Using a text color of #042E63 on backgrounds with similar dark hues should be avoided entirely. To ensure accessibility, a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (14pt bold or 18pt regular) is recommended. When incorporated into user interfaces, it is important to supplement this color with supporting visual cues such as icons or labels, especially when conveying critical information. Consider offering alternative color schemes that provide higher contrast for users with low vision, or allowing users to customize the color palette to meet their individual needs. Testing with accessibility tools and users with disabilities is crucial to validate the accessibility of designs incorporating this color.

Shades

Digital Color Formats

RGB
4 46 99
RGB4 46 99
Red
Green
Blue
HSL
213.47deg 92.23% 20.2%
213.4792.2320.2HSL
Hue
Saturation
Lightness
HWB
213.47deg 1.57% 61.18%
213.471.5761.18HWB
Hue
Whiteness
Blackness
hex#042E63
rgb4 46 99
hsl213.47deg 92.23% 20.2%
cmyk95.96% 53.54% 0% 61.18%
hwb213.47deg 1.57% 61.18%
xyz-d650.03 0.03 0.12
oklch0.3094 0.1038 257.08
oklab0.3094 -0.02 -0.1
CMYK
95.96% 53.54% 0% 61.18%
95.9653.54061.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.03 0.03 0.12
0.030.030.12XYZ
X
Y
Z
OKLCH
0.3094 0.1038 257.08
0.30940.1038257.08LCH
Lightness
Chroma
Hue
OKLAB
0.3094 -0.02 -0.1
0.3094-0.02-0.1LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons