Midnight

#051C2E

General Information about #051C2E

The hex color #051c2e, often referred to as Midnight, is a very dark shade of blue-black. It resides in the cool end of the color spectrum, evoking feelings of calmness, sophistication, and mystery. In the RGB color model, #051c2e is composed of 2% red, 11% green, and 18% blue. Its CMYK values are 0.72 cyan, 0.43 magenta, 0.00 yellow, and 0.82 key (black). This color is frequently used to represent night, darkness, or deep waters. Because of its low brightness, it is difficult to use without being paired with contrasting colors. When displayed on screens, it can render as a solid black on devices with poor color depth, or poor contrast ratios. It should be used carefully in designs where accessibility is a concern.

The hex color #051c2e, also known as Midnight, presents significant accessibility challenges. Its extremely dark hue results in very low contrast against typical light-colored backgrounds, such as white or light gray. This severely impacts readability for users with visual impairments, including those with low vision, color blindness, or age-related macular degeneration. Web Content Accessibility Guidelines (WCAG) require a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text against its background. #051c2e fails to meet these standards with almost any light background. To improve accessibility, it is essential to pair #051c2e with much lighter colors for text and interactive elements. Consider using a lighter shade of gray, or even off-white, to ensure sufficient contrast and meet accessibility requirements. Avoid using this color for crucial UI elements like buttons or links without careful consideration of contrast. Proper contrast ensures that content is accessible and usable for a wider audience, promoting inclusivity.

Shades

Digital Color Formats

RGB
5 28 46
RGB5 28 46
Red
Green
Blue
HSL
206.34deg 80.39% 10%
206.3480.3910HSL
Hue
Saturation
Lightness
HWB
206.34deg 1.96% 81.96%
206.341.9681.96HWB
Hue
Whiteness
Blackness
hex#051C2E
rgb5 28 46
hsl206.34deg 80.39% 10%
cmyk89.13% 39.13% 0% 81.96%
hwb206.34deg 1.96% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2188 0.0459 245.08
oklab0.2188 -0.02 -0.04
CMYK
89.13% 39.13% 0% 81.96%
89.1339.13081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2188 0.0459 245.08
0.21880.0459245.08LCH
Lightness
Chroma
Hue
OKLAB
0.2188 -0.02 -0.04
0.2188-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons