Midnight

#031731

General Information about Midnight (#031731)

The hexadecimal color #031731, commonly known as Midnight, is a very dark shade of blue, almost leaning towards black. It resides in the blue-violet part of the color spectrum and is often associated with feelings of sophistication, mystery, and tranquility. Its RGB (Red, Green, Blue) values are R:3, G:23, and B:49, indicating a low intensity of all primary colors, with blue being the most dominant. Due to its depth, the color is frequently used to evoke a sense of calmness, seriousness, and elegance in various design contexts. It is a popular choice for backgrounds and accents where a subtle and understated color palette is desired. This color offers a refined alternative to black, introducing a nuance of depth and richness.

The color #031731, also known as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a foreground color, it requires a very light background color to meet the WCAG (Web Content Accessibility Guidelines) contrast ratios for readability. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Therefore, using #031731 for text on a white or light-colored background may fail accessibility standards, potentially hindering users with visual impairments. Similarly, when employed as a background color, ensure that any text or interactive elements placed on it use a very light color, like white or a pale yellow, to ensure sufficient contrast and readability. It's important to test the color combination with accessibility evaluation tools to ensure compliance with accessibility standards to provide an inclusive user experience.

Shades

Digital Color Formats

RGB
3 23 49
RGB3 23 49
Red
Green
Blue
HSL
213.91deg 88.46% 10.2%
213.9188.4610.2HSL
Hue
Saturation
Lightness
HWB
213.91deg 1.18% 80.78%
213.911.1880.78HWB
Hue
Whiteness
Blackness
hex#031731
rgb3 23 49
hsl213.91deg 88.46% 10.2%
cmyk93.88% 53.06% 0% 80.78%
hwb213.91deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2053 0.0585 255.05
oklab0.2053 -0.02 -0.06
CMYK
93.88% 53.06% 0% 80.78%
93.8853.06080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2053 0.0585 255.05
0.20530.0585255.05LCH
Lightness
Chroma
Hue
OKLAB
0.2053 -0.02 -0.06
0.2053-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons