Midnight

#07122D

About Midnight (#07122D)

The hexadecimal color code #07122D, commonly known as Midnight, is a deep, dark shade of blue. It is composed of 2.75% red, 7.06% green, and 17.65% blue. In the RGB color space, it is a muted color, having a relatively low saturation and brightness. The color is often associated with night and tranquility. In color theory, midnight blue conveys sophistication, depth, and mystery. It is a versatile color suitable for backgrounds or as an accent color. When working with this color, it is important to consider color psychology, and the use cases for the color, with the aim of conveying the intended message through its use.

The color #07122D, also known as Midnight, presents significant accessibility challenges, primarily due to its extremely dark nature. When used as a background color, it necessitates very light text (ideally white or near-white) to ensure sufficient contrast. 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 often struggles to meet these ratios with moderately dark text, making it unsuitable for body text. For buttons and interactive elements, clear visual cues beyond color alone are crucial. Providing sufficient luminance contrast and incorporating secondary indicators like borders or icons will enhance usability for users with low vision or color blindness. Careful consideration of font size and weight can also improve readability. Thorough testing with accessibility tools and users is essential to validate the design's accessibility.

Shades

Digital Color Formats

RGB
7 18 45
RGB7 18 45
Red
Green
Blue
HSL
222.63deg 73.08% 10.2%
222.6373.0810.2HSL
Hue
Saturation
Lightness
HWB
222.63deg 2.75% 82.35%
222.632.7582.35HWB
Hue
Whiteness
Blackness
hex#07122D
rgb7 18 45
hsl222.63deg 73.08% 10.2%
cmyk84.44% 60% 0% 82.35%
hwb222.63deg 2.75% 82.35%
xyz-d650.01 0.01 0.03
oklch0.1906 0.0569 264.53
oklab0.1906 -0.01 -0.06
CMYK
84.44% 60% 0% 82.35%
84.4460082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1906 0.0569 264.53
0.19060.0569264.53LCH
Lightness
Chroma
Hue
OKLAB
0.1906 -0.01 -0.06
0.1906-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons