Midnight

#050F33

General Information about #050F33

The hex color #050F33, also known as Midnight, is a very dark shade of blue that evokes feelings of depth, mystery, and tranquility. It is composed of 2% red, 6% green, and 20% blue. In the RGB color model, #050F33 has RGB values of 5, 15, and 51, respectively. In the CMYK color model, its composition is 90% cyan, 71% magenta, 0% yellow, and 80% black. This color is commonly associated with nighttime, sophistication, and elegance. Its darkness makes it suitable for backgrounds or accents, but not as a primary text color. Its deep blue tone can also convey a sense of trust and reliability, making it a popular choice for corporate branding in certain industries. It's important to use this color carefully to ensure readability and accessibility.

The hex color #050F33, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. Its low luminance creates very little contrast against typical background colors like white, making text or interactive elements rendered in this color difficult for users to see, especially those with visual impairments. According to WCAG guidelines, sufficient contrast is crucial for readability and usability. To improve accessibility, web developers should avoid using #050F33 for text or interactive elements on light backgrounds. If it must be used, ensure a high contrast ratio by pairing it with a very light color like #FFFFFF or consider darkening lighter elements on the page. Thoroughly test color combinations with accessibility tools to meet WCAG standards for contrast ratios. It's better to ensure inclusive design practices.

Shades

Digital Color Formats

RGB
5 15 51
RGB5 15 51
Red
Green
Blue
HSL
226.96deg 82.14% 10.98%
226.9682.1410.98HSL
Hue
Saturation
Lightness
HWB
226.96deg 1.96% 80%
226.961.9680HWB
Hue
Whiteness
Blackness
hex#050F33
rgb5 15 51
hsl226.96deg 82.14% 10.98%
cmyk90.2% 70.59% 0% 80%
hwb226.96deg 1.96% 80%
xyz-d650.01 0.01 0.03
oklch0.1873 0.0729 266.27
oklab0.1873 0 -0.07
CMYK
90.2% 70.59% 0% 80%
90.270.59080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1873 0.0729 266.27
0.18730.0729266.27LCH
Lightness
Chroma
Hue
OKLAB
0.1873 0 -0.07
0.18730-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons