Midnight

#050F2E

General Information about #050F2E

The hexadecimal color code #050F2E, often referred to as "Midnight," is a very dark shade of blue. It is composed of 2% red, 6% green, and 18% blue. In the RGB color model, #050F2E has the decimal values of 5 for red, 15 for green, and 46 for blue. Its HSL values are 222 degrees for hue, 81% for saturation, and 10% for lightness. This color is often associated with feelings of depth, sophistication, and calmness. In color psychology, dark blues can represent trust, loyalty, and wisdom. However, its extreme darkness can also evoke a sense of melancholy or mystery. It's commonly used in branding and design where a subtle and sophisticated aesthetic is desired.

The color #050F2E, a very dark shade of blue, presents significant accessibility challenges, especially in web design. Its extremely low luminance makes it difficult to achieve sufficient contrast with lighter foreground text or elements. According to WCAG guidelines, adhering to contrast ratios of at least 4.5:1 for standard text and 3:1 for large text is crucial for users with visual impairments. Using #050F2E as a background color necessitates careful selection of very light text colors to meet these standards. Furthermore, avoid using this color for interactive elements or essential visual information without ensuring adequate contrast, as it can be nearly invisible to some users. Consideration should be given to providing alternative high-contrast themes or color palettes to ensure inclusivity.

Shades

Digital Color Formats

RGB
5 15 46
RGB5 15 46
Red
Green
Blue
HSL
225.37deg 80.39% 10%
225.3780.3910HSL
Hue
Saturation
Lightness
HWB
225.37deg 1.96% 81.96%
225.371.9681.96HWB
Hue
Whiteness
Blackness
hex#050F2E
rgb5 15 46
hsl225.37deg 80.39% 10%
cmyk89.13% 67.39% 0% 81.96%
hwb225.37deg 1.96% 81.96%
xyz-d650.01 0.01 0.03
oklch0.1821 0.0644 265.53
oklab0.1821 -0.01 -0.06
CMYK
89.13% 67.39% 0% 81.96%
89.1367.39081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1821 0.0644 265.53
0.18210.0644265.53LCH
Lightness
Chroma
Hue
OKLAB
0.1821 -0.01 -0.06
0.1821-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons