Midnight Blue

#042E60

General Information about Midnight Blue

The hex color code #042E60 represents a shade of dark blue, specifically categorized as Midnight Blue. In the RGB color model, it consists of 1.57% red, 18.04% green, and 37.65% blue. This composition results in a deep, cool tone often associated with tranquility, depth, and sophistication. Midnight Blue is frequently used in designs where a sense of professionalism, trust, and stability is desired. It's a versatile color that can be used in both digital and print media, lending a touch of elegance and seriousness to any project. The color's low saturation makes it easy on the eyes, reducing strain and improving readability when used as a background or accent color.

The hex color #042E60, also known as Midnight Blue, presents some accessibility challenges, particularly concerning contrast. When used as a background color, it requires very light text colors to ensure readability, complying with WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. It is important to avoid pairing it with dark or muted text colors, as this can cause eye strain and reduce comprehension, especially for users with visual impairments. When used for interactive elements like buttons or links, clear visual cues, such as underlines or borders, are necessary, and sufficient contrast must be maintained in different states like hover and focus. In general, careful consideration of color combinations is essential to ensure the content is accessible to all users.

Shades

Digital Color Formats

RGB
4 46 96
RGB4 46 96
Red
Green
Blue
HSL
212.61deg 92% 19.61%
212.619219.61HSL
Hue
Saturation
Lightness
HWB
212.61deg 1.57% 62.35%
212.611.5762.35HWB
Hue
Whiteness
Blackness
hex#042E60
rgb4 46 96
hsl212.61deg 92% 19.61%
cmyk95.83% 52.08% 0% 62.35%
hwb212.61deg 1.57% 62.35%
xyz-d650.03 0.03 0.11
oklch0.3069 0.0994 256.17
oklab0.3069 -0.02 -0.1
CMYK
95.83% 52.08% 0% 62.35%
95.8352.08062.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.03 0.03 0.11
0.030.030.11XYZ
X
Y
Z
OKLCH
0.3069 0.0994 256.17
0.30690.0994256.17LCH
Lightness
Chroma
Hue
OKLAB
0.3069 -0.02 -0.1
0.3069-0.02-0.1LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons