Midnight

#011F38

General Information about #011F38

The hex color #011F38, often referred to as 'Midnight,' is a very dark shade of blue, almost black. It is composed of 0.4% red, 12.2% green, and 21.9% blue. In the RGB color space, it is represented as (1, 31, 56). This color exudes a sense of depth, mystery, and sophistication. Colors like this are often associated with feelings of calmness, stability, and elegance. Due to its low brightness, it is typically used as a background color or an accent to provide contrast with lighter elements. The color's dark nature also makes it useful in creating a dramatic or formal aesthetic. It is a versatile color that can be incorporated in web design, graphic design, and interior design to achieve a sleek, modern, and professional look. Its subtle blue undertones add a touch of uniqueness compared to pure black.

The hex color #011F38, also known as Midnight, presents some accessibility challenges due to its dark nature. When used as a background color, it requires 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. Using a very light color like white or a pale yellow for text on a #011F38 background can help meet these requirements. It's crucial to test the color combination with accessibility tools to verify compliance. Avoid pairing #011F38 with other dark colors, as this will result in poor visibility and make it difficult for users, especially those with visual impairments, to perceive the content. Consideration should be given to users with color blindness as well; ensure that crucial information isn't conveyed solely through color.

Shades

Digital Color Formats

RGB
1 31 56
RGB1 31 56
Red
Green
Blue
HSL
207.27deg 96.49% 11.18%
207.2796.4911.18HSL
Hue
Saturation
Lightness
HWB
207.27deg 0.39% 78.04%
207.270.3978.04HWB
Hue
Whiteness
Blackness
hex#011F38
rgb1 31 56
hsl207.27deg 96.49% 11.18%
cmyk98.21% 44.64% 0% 78.04%
hwb207.27deg 0.39% 78.04%
xyz-d650.01 0.01 0.04
oklch0.233 0.06 247.39
oklab0.233 -0.02 -0.06
CMYK
98.21% 44.64% 0% 78.04%
98.2144.64078.04CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.233 0.06 247.39
0.2330.06247.39LCH
Lightness
Chroma
Hue
OKLAB
0.233 -0.02 -0.06
0.233-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons