Midnight Blue

#013370

General Information

The hex color code #013370 represents a dark shade of blue, often referred to as midnight blue. It is composed of 0.39% red, 20% green, and 43.92% blue. In the RGB color model, it's defined by the values (1, 51, 112). This color is commonly associated with feelings of calmness, stability, and authority. Midnight blue is often used in corporate branding and design to convey trust and professionalism. In color theory, it is considered a cool color, and its dark hue adds a sense of depth and sophistication. The color is frequently used as an alternative to black, especially when a softer, less stark appearance is desired. Because of its dark nature, it’s very good at hiding dirt and stains.

The color #013370, a deep shade of midnight blue, presents some accessibility considerations for web developers. When used as a background color, it's crucial to ensure sufficient contrast with the foreground text. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Light shades of gray, yellow, or white work best as foreground colors to meet these contrast requirements. Using online contrast checker tools is highly recommended to verify compliance. When using this color for decorative elements, consider its impact on users with visual impairments, and provide alternative cues where necessary. Also, avoid using color alone to convey important information; supplement it with text labels or icons to ensure usability for all users. For users with cognitive disabilities, using this dark color sparingly can reduce visual clutter and improve focus.

Shades

Digital Color Formats

RGB
1 51 112
RGB1 51 112
Red
Green
Blue
HSL
212.97deg 98.23% 22.16%
212.9798.2322.16HSL
Hue
Saturation
Lightness
HWB
212.97deg 0.39% 56.08%
212.970.3956.08HWB
Hue
Whiteness
Blackness
hex#013370
rgb1 51 112
hsl212.97deg 98.23% 22.16%
cmyk99.11% 54.46% 0% 56.08%
hwb212.97deg 0.39% 56.08%
xyz-d650.04 0.04 0.16
oklch0.332 0.1168 257.07
oklab0.332 -0.03 -0.11
CMYK
99.11% 54.46% 0% 56.08%
99.1154.46056.08CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.04 0.04 0.16
0.040.040.16XYZ
X
Y
Z
OKLCH
0.332 0.1168 257.07
0.3320.1168257.07LCH
Lightness
Chroma
Hue
OKLAB
0.332 -0.03 -0.11
0.332-0.03-0.11LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons