Midnight Blue

#0A3161

General Information about Midnight Blue

The color #0A3161, commonly known as Midnight Blue, is a deep, dark shade of blue that evokes a sense of sophistication, tranquility, and depth. In the RGB color model, it is composed of 3.92% red, 19.22% green, and 38.04% blue. This composition gives it a rich, calming appearance, often associated with the night sky or the deep sea. Midnight Blue is a popular choice in various design fields, including web design, graphic design, and interior design, due to its versatility and timeless appeal. It can convey a sense of professionalism and reliability, making it suitable for corporate branding and serious applications. The hexadecimal color code #0A3161 is a representation of this specific shade in a way that computers and digital devices can accurately interpret and display.

The hex color #0A3161, also known as Midnight Blue, presents some accessibility challenges, particularly when used for text. Its low lightness value (dark color) means it requires careful pairing with lighter colors to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text. Using #0A3161 for text on a white background may not meet these standards, making it difficult for users with visual impairments to read comfortably. When using this color, it is crucial to test the contrast ratio with tools such as WebAIM's Contrast Checker and adjust the foreground color accordingly to meet accessibility requirements. For backgrounds, it can be used more freely, but always consider the contrast of elements placed on top of it.

Shades

Digital Color Formats

RGB
10 49 97
RGB10 49 97
Red
Green
Blue
HSL
213.1deg 81.31% 20.98%
213.181.3120.98HSL
Hue
Saturation
Lightness
HWB
213.1deg 3.92% 61.96%
213.13.9261.96HWB
Hue
Whiteness
Blackness
hex#0A3161
rgb10 49 97
hsl213.1deg 81.31% 20.98%
cmyk89.69% 49.48% 0% 61.96%
hwb213.1deg 3.92% 61.96%
xyz-d650.03 0.03 0.12
oklch0.3169 0.0953 256.23
oklab0.3169 -0.02 -0.09
CMYK
89.69% 49.48% 0% 61.96%
89.6949.48061.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.03 0.03 0.12
0.030.030.12XYZ
X
Y
Z
OKLCH
0.3169 0.0953 256.23
0.31690.0953256.23LCH
Lightness
Chroma
Hue
OKLAB
0.3169 -0.02 -0.09
0.3169-0.02-0.09LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons