Midnight

#051937

General Information about #051937

The hexadecimal color code #051937 represents a very dark shade of blue, often referred to as Midnight. It is composed of 2% red, 10% green, and 22.7% blue. In the RGB color model, this translates to R:5, G:25, B:55. The corresponding CMYK color code is C:91, M:55, Y:0, K:78. This color is frequently associated with qualities such as depth, stability, and sophistication. Due to its dark nature, it is crucial to consider accessibility when using #051937, particularly in ensuring sufficient contrast with text or other foreground elements.

The hex color #051937, also known as Midnight, presents some accessibility challenges, particularly concerning color contrast. When using this color for text or interactive elements, it is crucial to ensure sufficient contrast against the background. 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 #FFFFFF (white) or other shades of white ensures readability. Using darker colors as background can result in low readability. Careful consideration of color pairings is essential to provide an inclusive user experience and avoid excluding users with visual impairments. Always test your color combinations with accessibility tools to confirm compliance with accessibility standards.

Shades

Digital Color Formats

RGB
5 25 55
RGB5 25 55
Red
Green
Blue
HSL
216deg 83.33% 11.76%
21683.3311.76HSL
Hue
Saturation
Lightness
HWB
216deg 1.96% 78.43%
2161.9678.43HWB
Hue
Whiteness
Blackness
hex#051937
rgb5 25 55
hsl216deg 83.33% 11.76%
cmyk90.91% 54.55% 0% 78.43%
hwb216deg 1.96% 78.43%
xyz-d650.01 0.01 0.04
oklch0.2173 0.0644 258.04
oklab0.2173 -0.01 -0.06
CMYK
90.91% 54.55% 0% 78.43%
90.9154.55078.43CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2173 0.0644 258.04
0.21730.0644258.04LCH
Lightness
Chroma
Hue
OKLAB
0.2173 -0.01 -0.06
0.2173-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons