Midnight

#0A1333

General Information about Midnight

The hex color #0A1333, also known as Midnight, is a very dark shade of blue, residing within the blue color family. It's characterized by its low saturation and luminance, giving it a near-black appearance. In the RGB color model, it consists of 3.92% red, 7.45% green, and 20% blue. This composition explains its deep, muted blue hue. Midnight is often associated with feelings of calmness, depth, and mystery, similar to the night sky it is named after. In color psychology, dark blues are sometimes linked to trust, loyalty, and intelligence. However, its darkness can also evoke feelings of sadness or isolation if not used carefully. The color is best suited for backgrounds and accents, where its darkness provides a striking contrast when paired with lighter elements, such as white or gold.

The hex color #0A1333, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. Its low luminance results in very poor contrast against lighter backgrounds, potentially making text or interactive elements illegible for users with visual impairments. The Web Content Accessibility Guidelines (WCAG) emphasize a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text to ensure readability. Midnight likely fails to meet these contrast requirements when paired with many common background colors, particularly white or light shades of gray. To improve accessibility, developers should avoid using #0A1333 for text or interactive elements unless it is paired with a very light color that provides sufficient contrast. Tools like contrast checkers can help to evaluate color combinations and ensure they meet WCAG standards. Another approach would be to lighten the shade of blue to a more visible hue that satisfies accessibility standards.

Shades

Digital Color Formats

RGB
10 19 51
RGB10 19 51
Red
Green
Blue
HSL
226.83deg 67.21% 11.96%
226.8367.2111.96HSL
Hue
Saturation
Lightness
HWB
226.83deg 3.92% 80%
226.833.9280HWB
Hue
Whiteness
Blackness
hex#0A1333
rgb10 19 51
hsl226.83deg 67.21% 11.96%
cmyk80.39% 62.75% 0% 80%
hwb226.83deg 3.92% 80%
xyz-d650.01 0.01 0.03
oklch0.2008 0.0645 268.26
oklab0.2008 0 -0.06
CMYK
80.39% 62.75% 0% 80%
80.3962.75080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2008 0.0645 268.26
0.20080.0645268.26LCH
Lightness
Chroma
Hue
OKLAB
0.2008 0 -0.06
0.20080-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons