Midnight

#051E36

General Information about #051E36

The hexadecimal color #051E36, also known as Midnight, is a dark shade of blue, close to black. It is composed of 2% red, 12% green, and 21% blue. In the RGB color model, it is represented as (5, 30, 54). The HSL representation is 212 degrees hue, 83% saturation, and 12% lightness. Midnight is often associated with qualities of sophistication, depth, and tranquility. Its muted nature makes it a suitable choice for backgrounds, creating a sense of calmness and professionalism. When used in design, it's often paired with lighter colors to provide contrast and visual balance, ensuring readability and user-friendliness. Its understated elegance makes it a popular choice for various creative applications, from web design to interior decoration.

The hex color #051E36, a deep, muted blue, presents significant accessibility challenges, particularly for users with visual impairments. Its low luminance value means it provides insufficient contrast against lighter backgrounds, making text or graphical elements difficult to discern. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. This color likely falls far short of these recommendations when paired with many common background colors. To improve accessibility, consider using it sparingly, and always ensure it's paired with a very light color, such as white or a pale yellow, to achieve an acceptable contrast ratio. Tools like contrast checkers can help verify compliance. Avoid using it for critical information or interactive elements without careful consideration of contrast. Also, consider providing alternative color schemes for users with specific visual needs.

Shades

Digital Color Formats

RGB
5 30 54
RGB5 30 54
Red
Green
Blue
HSL
209.39deg 83.05% 11.57%
209.3983.0511.57HSL
Hue
Saturation
Lightness
HWB
209.39deg 1.96% 78.82%
209.391.9678.82HWB
Hue
Whiteness
Blackness
hex#051E36
rgb5 30 54
hsl209.39deg 83.05% 11.57%
cmyk90.74% 44.44% 0% 78.82%
hwb209.39deg 1.96% 78.82%
xyz-d650.01 0.01 0.04
oklch0.2305 0.0559 250.3
oklab0.2305 -0.02 -0.05
CMYK
90.74% 44.44% 0% 78.82%
90.7444.44078.82CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2305 0.0559 250.3
0.23050.0559250.3LCH
Lightness
Chroma
Hue
OKLAB
0.2305 -0.02 -0.05
0.2305-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons