Midnight

#000A2E

General Information about Midnight (#000A2E)

The hexadecimal color code #000A2E, commonly known as Midnight, represents a very dark shade of blue. It is composed of 0% red, 3.92% green, and 18.43% blue. In the RGB color model, this translates to (0, 10, 46). The color is often associated with sophistication, mystery, and depth. Midnight is frequently used in designs where a sense of elegance and understated luxury is desired. Its dark nature makes it suitable for backgrounds, accent colors, or elements where subtle contrast is needed. However, due to its low luminance, it is crucial to ensure sufficient contrast with foreground elements to maintain readability and accessibility. This shade is also used to create night-themed designs.

The hex color #000a2e, also known as Midnight, presents significant accessibility challenges, particularly for text and interactive elements. Its extremely dark nature results in very low contrast against typical light backgrounds (like white or light gray), making it difficult for users with visual impairments to discern content. According to WCAG guidelines, sufficient contrast is essential for readability and usability. To ensure accessibility, pair #000a2e with very light colors, such as #ffffff (white) or #f0f0f0 (light gray), and verify that the contrast ratio meets the minimum requirements (4.5:1 for normal text and 3:1 for large text). Avoid using this color for critical UI elements or large blocks of text without careful consideration of contrast. Providing alternative high-contrast themes can also improve accessibility for users with visual needs. This color should be carefully used.

Shades

Digital Color Formats

RGB
0 10 46
RGB0 10 46
Red
Green
Blue
HSL
226.96deg 100% 9.02%
226.961009.02HSL
Hue
Saturation
Lightness
HWB
226.96deg 0% 81.96%
226.96081.96HWB
Hue
Whiteness
Blackness
hex#000A2E
rgb0 10 46
hsl226.96deg 100% 9.02%
cmyk100% 78.26% 0% 81.96%
hwb226.96deg 0% 81.96%
xyz-d650.01 0 0.03
oklch0.1651 0.0754 261.84
oklab0.1651 -0.01 -0.07
CMYK
100% 78.26% 0% 81.96%
10078.26081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0 0.03
0.0100.03XYZ
X
Y
Z
OKLCH
0.1651 0.0754 261.84
0.16510.0754261.84LCH
Lightness
Chroma
Hue
OKLAB
0.1651 -0.01 -0.07
0.1651-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons