Midnight

#0A1931

General Information about #0A1931

The hex color #0A1931, often referred to as 'Midnight,' is a deep, dark shade of blue. It belongs to the blue color family and evokes feelings of calmness, sophistication, and mystery. In the RGB color model, #0A1931 is composed of 3.92% red, 9.8% green, and 19.22% blue. Its CMYK values are 0.79, 0.49, 0.00, 0.81. The human eye perceives it as a very dark shade of blue, almost bordering on black. This color is frequently utilized in designs aiming to convey depth, elegance, or a sense of tranquility. The color is named 'Midnight' as its shade is akin to the color of the sky at midnight.

The hex color #0A1931, also known as Midnight, presents some accessibility challenges due to its dark nature. When used as a background color, it necessitates very light text (ideally white or a near-white shade) 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 a color like #0A1931 without careful consideration of contrast can lead to visual strain and make content inaccessible to users with visual impairments. Tools like contrast checkers should be employed during design to confirm compliance with accessibility standards. Also, avoid using this color for elements that rely on color alone to convey information, as this will be inaccessible to colorblind users. Consider alternatives or augmentations like text labels or icons.

Shades

Digital Color Formats

RGB
10 25 49
RGB10 25 49
Red
Green
Blue
HSL
216.92 66.1% 11.57%
216.9266.111.57HSL
Hue
Saturation
Lightness
HWB
216.92 3.92% 80.78%
216.923.9280.78HWB
Hue
Whiteness
Blackness
hex#0A1931
rgb10 25 49
hsl216.92 66.1% 11.57%
cmyk79.59% 48.98% 0% 80.78%
hwb216.92 3.92% 80.78%
xyz1.03 0.98 3.04
CMYK
79.59% 48.98% 0% 80.78%
79.5948.98080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ
1.03 0.98 3.04
1.030.983.04XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025