Midnight

#051A2F

General Information about #051A2F

The hex color #051A2F, also known as "Midnight", is a very dark shade of blue. It resides in the blue color family and has very low saturation and brightness. This color is often associated with elegance, mystery, and calmness. In a RGB color space, #051A2F is composed of 2% red, 10.2% green and 19.4% blue. In a CMYK color space, it consists of 89.7% cyan, 47.4% magenta, 0% yellow and 80.6% black. The color is most suitable for dark backgrounds and themes, where its deep hue can create a sense of depth and sophistication. When using this color, it is important to consider its accessibility, particularly in text applications, as it requires high contrast with lighter colors to ensure readability.

The color #051A2F, a deep midnight blue, presents some accessibility challenges, particularly when used as a background color for text. Due to its low luminance, it requires careful consideration of color contrast ratios to ensure 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 (14 point bold or 18 point regular). When using #051A2F, it's crucial to pair it with light-colored text to meet these standards. White or very light shades of yellow or green would be suitable options. Tools like online contrast checkers can help verify compliance. Insufficient contrast can lead to eye strain and make content inaccessible to users with visual impairments. Therefore, designers should always prioritize accessibility when incorporating this dark hue into their designs and carefully choose its color pairs.

Shades

Digital Color Formats

RGB
5 26 47
RGB5 26 47
Red
Green
Blue
HSL
210deg 80.77% 10.2%
21080.7710.2HSL
Hue
Saturation
Lightness
HWB
210deg 1.96% 81.57%
2101.9681.57HWB
Hue
Whiteness
Blackness
hex#051A2F
rgb5 26 47
hsl210deg 80.77% 10.2%
cmyk89.36% 44.68% 0% 81.57%
hwb210deg 1.96% 81.57%
xyz-d650.01 0.01 0.03
oklch0.2136 0.0498 250.53
oklab0.2136 -0.02 -0.05
CMYK
89.36% 44.68% 0% 81.57%
89.3644.68081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2136 0.0498 250.53
0.21360.0498250.53LCH
Lightness
Chroma
Hue
OKLAB
0.2136 -0.02 -0.05
0.2136-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons