Midnight

#031631

General Information about Midnight (#031631)

The hex color code #031631 represents a very dark shade of blue, often referred to as "Midnight." In the RGB color model, it consists of 1.18% red, 8.63% green, and 19.22% blue. This color is located in the blue-violet part of the color spectrum. The low values across all three channels (Red, Green, Blue) contribute to its darkness. Midnight is often associated with feelings of calmness, sophistication, and depth. It is frequently used in designs aiming to convey a sense of professionalism, mystery, or tranquility. Due to its low luminance, it requires careful consideration in terms of accessibility, particularly when used for text or interactive elements on digital interfaces. It can also work as a replacement for black, when black is too harsh.

The hex color #031631, often referred to as Midnight, presents significant accessibility challenges, especially in web design. Due to its very low luminance, text rendered in this color against a white or even light-colored background would likely fail accessibility guidelines. According to WCAG (Web Content Accessibility Guidelines), sufficient contrast is crucial for users with visual impairments. To meet the minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text, Midnight requires a very light foreground color. Using color contrast tools is essential to ensure readability. Designers should prioritize accessibility by either pairing #031631 with extremely light colors or avoiding its use for text altogether. It may be more suitable for decorative elements where readability is not a primary concern. Testing with assistive technologies and gathering user feedback are important steps to validate the accessibility of any design incorporating this dark hue.

Shades

Digital Color Formats

RGB
3 22 49
RGB3 22 49
Red
Green
Blue
HSL
215.22deg 88.46% 10.2%
215.2288.4610.2HSL
Hue
Saturation
Lightness
HWB
215.22deg 1.18% 80.78%
215.221.1880.78HWB
Hue
Whiteness
Blackness
hex#031631
rgb3 22 49
hsl215.22deg 88.46% 10.2%
cmyk93.88% 55.1% 0% 80.78%
hwb215.22deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2024 0.0599 256.39
oklab0.2024 -0.01 -0.06
CMYK
93.88% 55.1% 0% 80.78%
93.8855.1080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2024 0.0599 256.39
0.20240.0599256.39LCH
Lightness
Chroma
Hue
OKLAB
0.2024 -0.01 -0.06
0.2024-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons