Midnight

#001038

General Information about Midnight (#001038)

The hexadecimal color #001038, also known as Midnight, is a very dark shade of blue, almost appearing black to the naked eye. It is composed of 0% red, 6.27% green, and 21.96% blue. In the RGB color space, it is represented as (0, 16, 56). This color evokes feelings of mystery, depth, and sophistication. Due to its low luminance, it is often associated with night and shadows. In color theory, Midnight can be used to create a sense of contrast when paired with lighter, brighter colors. The color is part of the dark blue spectrum, but its characteristics are unique, because it's very close to pure black. Therefore, it is used in many different fields.

The hex color #001038, often referred to as Midnight, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance results in very poor contrast against lighter backgrounds, making text difficult to read for individuals with visual impairments. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Midnight is unlikely to meet these ratios with most common background colors. Therefore, when using #001038, it's crucial to pair it with very light colors, such as white or very pale yellows, to ensure sufficient contrast. Developers should use contrast checking tools to verify compliance with accessibility standards. Also, avoid using this color for essential UI elements without appropriate contrast considerations. Use of a darker shade of this color on a black background is discouraged.

Shades

Digital Color Formats

RGB
0 16 56
RGB0 16 56
Red
Green
Blue
HSL
222.86 100% 10.98%
222.8610010.98HSL
Hue
Saturation
Lightness
HWB
222.86 0% 78.04%
222.86078.04HWB
Hue
Whiteness
Blackness
hex#001038
rgb0 16 56
hsl222.86 100% 10.98%
cmyk100% 71.43% 0% 78.04%
hwb222.86 0% 78.04%
xyz0.9 0.66 3.82
CMYK
100% 71.43% 0% 78.04%
10071.43078.04CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.9 0.66 3.82
0.90.663.82XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025