Midnight

#0A1A32

General Information About Midnight (#0A1A32)

The hex color code #0A1A32, often referred to as "Midnight," represents a dark shade of blue. It is composed of 3.92% red, 10.2% green, and 20% blue. In the RGB color model, this translates to R:10, G:26, B:50. The color is often associated with qualities such as sophistication, depth, and tranquility. In terms of color theory, Midnight is a cool color, making it suitable for creating calm and professional designs. Its darkness also allows for excellent contrast when paired with lighter colors, making text and other elements stand out. It is commonly used in web design, graphic design, and even in branding to evoke a sense of trustworthiness and stability.

The hex color #0A1A32, also known as Midnight, presents some accessibility challenges, particularly regarding text contrast. When using this color for backgrounds, it's crucial to ensure sufficient contrast with the foreground text. According to WCAG guidelines, the contrast ratio should be at least 4.5:1 for normal text and 3:1 for large text. Given the darkness of #0A1A32, lighter text colors like white, light gray, or pale yellow are recommended. Using contrast checking tools can help to verify compliance. Additionally, providing alternative color schemes for users with visual impairments can significantly improve accessibility. Implementing ARIA attributes and semantic HTML can further enhance the user experience by providing assistive technologies with meaningful information about the content and its structure, regardless of the colors used.

Shades

Digital Color Formats

RGB
10 26 50
RGB10 26 50
Red
Green
Blue
HSL
216deg 66.67% 11.76%
21666.6711.76HSL
Hue
Saturation
Lightness
HWB
216deg 3.92% 80.39%
2163.9280.39HWB
Hue
Whiteness
Blackness
hex#0A1A32
rgb10 26 50
hsl216deg 66.67% 11.76%
cmyk80% 48% 0% 80.39%
hwb216deg 3.92% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2187 0.0521 258.38
oklab0.2187 -0.01 -0.05
CMYK
80% 48% 0% 80.39%
8048080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2187 0.0521 258.38
0.21870.0521258.38LCH
Lightness
Chroma
Hue
OKLAB
0.2187 -0.01 -0.05
0.2187-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons