Midnight

#051C2F

General Information about #051C2F

The hexadecimal color #051C2F, also known as Midnight, is a very dark shade of blue, almost appearing black. It's composed of 2% red, 11% green, and 18% blue. In the RGB color model, it has values of R:5, G:28, and B:47. In the CMYK color model, its composition is 89% cyan, 40% magenta, 0% yellow, and 82% black. This color evokes feelings of sophistication, mystery, and calmness. It is often associated with nighttime and tranquility. Due to its dark nature, it is generally used sparingly, often as an accent color or a background for light-colored text to ensure readability and contrast. The color #051C2F is well-suited for creating a sense of depth and elegance in various design applications.

The hex color #051C2F, also known as Midnight, presents accessibility challenges due to its dark nature. When used as a background color, it necessitates very light text (white or near-white) 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 to meet AA compliance. Using #051C2F can make it difficult to achieve these ratios with darker text colors. Therefore, careful consideration of text color is crucial. Tools like contrast checkers can help determine if the color combination passes accessibility standards, ensuring content is usable for individuals with visual impairments. Moreover, providing alternative color schemes can enhance user experience.

Shades

Digital Color Formats

RGB
5 28 47
RGB5 28 47
Red
Green
Blue
HSL
207.14deg 80.77% 10.2%
207.1480.7710.2HSL
Hue
Saturation
Lightness
HWB
207.14deg 1.96% 81.57%
207.141.9681.57HWB
Hue
Whiteness
Blackness
hex#051C2F
rgb5 28 47
hsl207.14deg 80.77% 10.2%
cmyk89.36% 40.43% 0% 81.57%
hwb207.14deg 1.96% 81.57%
xyz-d650.01 0.01 0.03
oklch0.2195 0.0474 246.42
oklab0.2195 -0.02 -0.04
CMYK
89.36% 40.43% 0% 81.57%
89.3640.43081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2195 0.0474 246.42
0.21950.0474246.42LCH
Lightness
Chroma
Hue
OKLAB
0.2195 -0.02 -0.04
0.2195-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons