Midnight

#031B2E

General Information

The hex color #031B2E, also known as Midnight, is a very dark shade of blue, almost appearing black to the untrained eye. It belongs to the cool color family and evokes feelings of calmness, serenity, and sophistication. In the RGB color model, it is composed of 1.18% red, 10.59% green, and 18.04% blue. This color is often associated with the night sky, deep oceans, and a sense of mystery. Due to its low luminance, it is commonly used as a background color in digital designs, where a sophisticated and understated look is desired. However, care must be taken to ensure sufficient contrast with foreground elements to maintain readability and accessibility. The color is often chosen to provide a sense of luxury and exclusivity.

The hex color #031B2E, a deep shade of midnight, presents specific accessibility challenges, primarily due to its low luminance. When used as a background color, it necessitates very light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text. Given the darkness of #031B2E, careful selection of text colors is crucial to meet these standards. Designers must avoid using colors that are too close in luminance value, as this can make content difficult or impossible for users with visual impairments to perceive. Tools like contrast checkers are essential to verify compliance and ensure inclusive design. Additionally, providing alternative color schemes for users with specific needs can further enhance accessibility.

Shades

Digital Color Formats

RGB
3 27 46
RGB3 27 46
Red
Green
Blue
HSL
206.51deg 87.76% 9.61%
206.5187.769.61HSL
Hue
Saturation
Lightness
HWB
206.51deg 1.18% 81.96%
206.511.1881.96HWB
Hue
Whiteness
Blackness
hex#031B2E
rgb3 27 46
hsl206.51deg 87.76% 9.61%
cmyk93.48% 41.3% 0% 81.96%
hwb206.51deg 1.18% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2146 0.0484 245.2
oklab0.2146 -0.02 -0.04
CMYK
93.48% 41.3% 0% 81.96%
93.4841.3081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2146 0.0484 245.2
0.21460.0484245.2LCH
Lightness
Chroma
Hue
OKLAB
0.2146 -0.02 -0.04
0.2146-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons