Midnight

#031E36

General Information about #031E36

The hex color #031E36, often referred to as "Midnight", is a very dark shade of blue, verging almost on black. It is composed of 1.18% red, 11.76% green, and 21.18% blue. In the RGB color model, it has the values 3 red, 30 green, and 54 blue. The color is commonly associated with sophistication, elegance, and mystery, often used to evoke a sense of depth and calmness. In color theory, #031E36 belongs to the cool color family, and its somber nature lends itself well to creating backgrounds that allow brighter, contrasting colors to stand out. Its subtle nature makes it suitable for various applications, from digital design to interior decoration, where a touch of refinement is desired.

The hex color #031E36, often referred to as Midnight, presents certain accessibility challenges, particularly in web design. Its low luminance value (very dark) means that it requires careful consideration of color contrast. When using this color for text or interactive elements, it is crucial to ensure a sufficiently high contrast ratio against the background. According to WCAG (Web Content Accessibility Guidelines) standards, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Failing to meet these ratios can render content illegible for users with visual impairments. Therefore, when incorporating #031E36, always pair it with a light color for text or other crucial elements to guarantee readability and inclusivity. Consider using tools to check the contrast ratio to be absolutely sure.

Shades

Digital Color Formats

RGB
3 30 54
RGB3 30 54
Red
Green
Blue
HSL
208.24deg 89.47% 11.18%
208.2489.4711.18HSL
Hue
Saturation
Lightness
HWB
208.24deg 1.18% 78.82%
208.241.1878.82HWB
Hue
Whiteness
Blackness
hex#031E36
rgb3 30 54
hsl208.24deg 89.47% 11.18%
cmyk94.44% 44.44% 0% 78.82%
hwb208.24deg 1.18% 78.82%
xyz-d650.01 0.01 0.04
oklch0.2295 0.057 248.64
oklab0.2295 -0.02 -0.05
CMYK
94.44% 44.44% 0% 78.82%
94.4444.44078.82CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2295 0.057 248.64
0.22950.057248.64LCH
Lightness
Chroma
Hue
OKLAB
0.2295 -0.02 -0.05
0.2295-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons