Midnight

#031831

General Information about Midnight (#031831)

The hexadecimal color code #031831 represents a very dark shade of blue, often referred to as Midnight. In the RGB color model, it consists of 1.18% red, 9.41% green, and 19.22% blue. This color is characterized by its low saturation and brightness, making it suitable for creating a somber and sophisticated ambiance. It is frequently used in designs where subtlety and depth are desired. The color’s darkness implies qualities such as calm and mystery, which can be utilized in various applications, including graphic design, web development, and interior decor. Understanding its composition and impact is essential for effectively incorporating it into different design projects, remembering that proper use must ensure it meets all the accessibility guidelines.

The color #031831, a very dark shade of blue often referred to as Midnight, presents significant accessibility challenges, particularly in text-based contexts. Its extremely low luminance value means that it provides insufficient contrast when paired with many other colors, especially darker tones. To ensure readability and usability, it is crucial to use #031831 with light colors that provide a high contrast ratio, adhering to WCAG guidelines. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text to meet WCAG AA standards. Using tools to check contrast ratios during the design process is vital to avoid unintentionally creating barriers for users with visual impairments. When incorporating this color into website design, consider users who are colorblind or have low vision by testing the color scheme with accessibility evaluation tools. Proper use can also include providing alternative color schemes where users can choose high contrast options.

Shades

Digital Color Formats

RGB
3 24 49
RGB3 24 49
Red
Green
Blue
HSL
212.61deg 88.46% 10.2%
212.6188.4610.2HSL
Hue
Saturation
Lightness
HWB
212.61deg 1.18% 80.78%
212.611.1880.78HWB
Hue
Whiteness
Blackness
hex#031831
rgb3 24 49
hsl212.61deg 88.46% 10.2%
cmyk93.88% 51.02% 0% 80.78%
hwb212.61deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2081 0.057 253.61
oklab0.2081 -0.02 -0.05
CMYK
93.88% 51.02% 0% 80.78%
93.8851.02080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2081 0.057 253.61
0.20810.057253.61LCH
Lightness
Chroma
Hue
OKLAB
0.2081 -0.02 -0.05
0.2081-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons