Midnight Blue

#012E5D

General Information about #012E5D

The hexadecimal color code #012E5D represents a dark shade of blue, often referred to as Midnight Blue. In the RGB color model, it is composed of 0.4% red, 18% green, and 36.5% blue. This color falls within the range of cool colors and evokes feelings of calmness, sophistication, and depth. It is often associated with professionalism and trustworthiness. In color theory, Midnight Blue is considered a tertiary color, created by mixing a primary color (blue) with a secondary color (green). Its relative low saturation and high darkness values make it suitable for use as a background or accent color, provided sufficient contrast is maintained with foreground elements. It is frequently used in corporate branding and web design to convey a sense of stability and reliability.

The color #012E5D, a deep shade of midnight blue, presents some accessibility challenges, particularly concerning color contrast. When used as a background color, it requires very light text (ideally white or near-white) to ensure sufficient contrast for readability, meeting WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using color contrast checkers is crucial to verify compliance. Avoid pairing it with darker shades of blue, gray, or green, as this will likely result in insufficient contrast. Consider providing alternative styling options for users with visual impairments, such as allowing them to customize background and text colors. Ensure all interactive elements, such as links and buttons, have clear visual cues beyond just color to distinguish them from surrounding text. This is particularly important for users who are colorblind.

Shades

Digital Color Formats

RGB
1 46 93
RGB1 46 93
Red
Green
Blue
HSL
210.65deg 97.87% 18.43%
210.6597.8718.43HSL
Hue
Saturation
Lightness
HWB
210.65deg 0.39% 63.53%
210.650.3963.53HWB
Hue
Whiteness
Blackness
hex#012E5D
rgb1 46 93
hsl210.65deg 97.87% 18.43%
cmyk98.92% 50.54% 0% 63.53%
hwb210.65deg 0.39% 63.53%
xyz-d650.03 0.03 0.11
oklch0.3035 0.0958 254.19
oklab0.3035 -0.03 -0.09
CMYK
98.92% 50.54% 0% 63.53%
98.9250.54063.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.03 0.03 0.11
0.030.030.11XYZ
X
Y
Z
OKLCH
0.3035 0.0958 254.19
0.30350.0958254.19LCH
Lightness
Chroma
Hue
OKLAB
0.3035 -0.03 -0.09
0.3035-0.03-0.09LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons