Midnight

#0A1236

General Information about Midnight (#0A1236)

The hexadecimal color code #0A1236, commonly referred to as Midnight, is a deep, dark shade of blue with subtle hints of violet. It is composed of 3.92% red, 7.06% green, and 21.18% blue. In the RGB color model, #0A1236 has values of 10 red, 18 green, and 54 blue. Its CMYK representation is 0.81 cyan, 0.67 magenta, 0.00 yellow, and 0.79 black. This color evokes feelings of calmness, sophistication, and mystery. Midnight is often used to create a sense of depth and elegance in designs. Its dark nature makes it suitable for backgrounds and elements where a subtle yet impactful presence is desired, providing a contrast that is not as stark as black, thus lending a more nuanced visual appeal.

The hex color #0A1236, also known as Midnight, presents unique accessibility considerations for web development. Its low luminance value makes it challenging to provide sufficient contrast against lighter text or user interface elements. To ensure readability, it is imperative to use text colors with high contrast ratios, ideally exceeding the WCAG AA standards of 4.5:1 for normal text and 3:1 for large text. When using #0A1236 as a background, consider pairing it with light shades of grey, white, or even pastel colors to meet accessibility standards. Furthermore, interactive elements like buttons or links should have clear visual cues, such as borders or background changes on hover, to ensure they are easily identifiable for users with visual impairments. Thoughtful implementation is key to making content accessible and inclusive.

Shades

Digital Color Formats

RGB
10 18 54
RGB10 18 54
Red
Green
Blue
HSL
229.09deg 68.75% 12.55%
229.0968.7512.55HSL
Hue
Saturation
Lightness
HWB
229.09deg 3.92% 78.82%
229.093.9278.82HWB
Hue
Whiteness
Blackness
hex#0A1236
rgb10 18 54
hsl229.09deg 68.75% 12.55%
cmyk81.48% 66.67% 0% 78.82%
hwb229.09deg 3.92% 78.82%
xyz-d650.01 0.01 0.04
oklch0.2012 0.0712 269.46
oklab0.2012 0 -0.07
CMYK
81.48% 66.67% 0% 78.82%
81.4866.67078.82CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2012 0.0712 269.46
0.20120.0712269.46LCH
Lightness
Chroma
Hue
OKLAB
0.2012 0 -0.07
0.20120-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons