Midnight

#0A102F

General Information about Midnight (#0A102F)

The hex color #0A102F, often referred to as Midnight, is a deep, dark shade of blue-black. It belongs to the family of colors that evoke feelings of mystery, sophistication, and tranquility. In the RGB color model, #0A102F is composed of 3.92% red, 6.27% green, and 18.43% blue. Its CMYK values are 0.79, 0.66, 0.00, 0.82, indicating a high proportion of cyan and magenta, with a very small percentage of yellow. This color is frequently used in designs to create a sense of depth or to establish a somber, elegant mood. It is commonly used as a background color in web design and digital art to provide a striking backdrop that allows brighter elements to stand out. Because of its low lightness value, careful attention must be paid to its contrast with other colors to ensure legibility and accessibility.

The hex color #0A102F, also known as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a background color, it requires extremely light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between the text and background should be at least 4.5:1 for normal text and 3:1 for large text. Using lighter shades of gray, or even white, for text is crucial. Furthermore, avoid using this color for essential interactive elements without careful consideration of how users with visual impairments will perceive them. Employing tools to test color contrast is highly recommended to guarantee accessibility compliance and a positive user experience. The darkness can also affect users with photosensitivity, so avoid rapid or flashing animations using this color.

Shades

Digital Color Formats

RGB
10 16 47
RGB10 16 47
Red
Green
Blue
HSL
230.27 64.91% 11.18%
230.2764.9111.18HSL
Hue
Saturation
Lightness
HWB
230.27 3.92% 81.57%
230.273.9281.57HWB
Hue
Whiteness
Blackness
hex#0A102F
rgb10 16 47
hsl230.27 64.91% 11.18%
cmyk78.72% 65.96% 0% 81.57%
hwb230.27 3.92% 81.57%
xyz0.82 0.64 2.77
CMYK
78.72% 65.96% 0% 81.57%
78.7265.96081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.82 0.64 2.77
0.820.642.77XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025