Midnight

#050D2F

General Information about #050D2F

The hex color code #050d2f represents a very dark shade of blue, often referred to as Midnight. In the RGB color model, it consists of 5/255 red (2%), 13/255 green (5.1%), and 47/255 blue (18.4%). This color is characterized by its low saturation and luminance, resulting in a deep, almost black appearance. Colors like #050d2f are frequently used in designs where a sense of sophistication, depth, or mystery is desired. In web design, it can be used for backgrounds, headers, or as an accent color to create a visually appealing contrast with lighter elements. It is important to consider readability when using such dark colors, ensuring sufficient contrast with foreground text or elements.

The hex color #050d2f, often referred to as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a background color, it requires extremely light text to ensure sufficient contrast for readability, meeting WCAG (Web Content Accessibility Guidelines) standards for color contrast ratios. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Using lighter shades of gray, white, or vibrant accent colors as foreground text is crucial. Additionally, providing alternative visual cues such as underlines or icons for links is essential, as relying solely on color differences may exclude users with color vision deficiencies. Careful consideration of color pairings and thorough testing with accessibility tools are necessary to ensure that content using #050d2f is usable by everyone, including individuals with visual impairments.

Shades

Digital Color Formats

RGB
5 13 47
RGB5 13 47
Red
Green
Blue
HSL
228.57deg 80.77% 10.2%
228.5780.7710.2HSL
Hue
Saturation
Lightness
HWB
228.57deg 1.96% 81.57%
228.571.9681.57HWB
Hue
Whiteness
Blackness
hex#050D2F
rgb5 13 47
hsl228.57deg 80.77% 10.2%
cmyk89.36% 72.34% 0% 81.57%
hwb228.57deg 1.96% 81.57%
xyz-d650.01 0.01 0.03
oklch0.1781 0.0692 267.39
oklab0.1781 0 -0.07
CMYK
89.36% 72.34% 0% 81.57%
89.3672.34081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1781 0.0692 267.39
0.17810.0692267.39LCH
Lightness
Chroma
Hue
OKLAB
0.1781 0 -0.07
0.17810-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons