Midnight

#0A142D

General Information about Midnight (#0a142d)

The hex color #0a142d, often referred to as 'Midnight,' is a very dark shade of blue with a subtle, almost imperceptible, green undertone. It belongs to the broader family of blues and is characterized by its low saturation and very low lightness. In the RGB color model, it is composed of 3.92% red, 7.84% green, and 17.65% blue. This color is often associated with sophistication, mystery, and depth, making it a popular choice in design contexts that aim to evoke a sense of elegance or intrigue. It is commonly used as a background color or an accent color to create a subdued and calming atmosphere. Due to its darkness, it is crucial to pair it with lighter colors to ensure readability and accessibility.

The hex color #0a142d, also known as Midnight, presents significant accessibility challenges, primarily due to its low luminance. When used as text on a white background, or conversely as a background for white text, the contrast ratio is far below the WCAG guidelines for readability. Individuals with visual impairments, including those with low vision or color blindness, may find it difficult or impossible to distinguish text or important interface elements using this color. To improve accessibility, it is essential to use a much lighter color as the foreground when #0a142d is the background, or vice versa. A contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for large text to meet WCAG AA standards. Tools are available online to check color contrast ratios to ensure compliance with accessibility guidelines. Avoid using this color for critical information or interactive elements without careful consideration of its impact on users with disabilities.

Shades

Digital Color Formats

RGB
10 20 45
RGB10 20 45
Red
Green
Blue
HSL
222.86 63.64% 10.78%
222.8663.6410.78HSL
Hue
Saturation
Lightness
HWB
222.86 3.92% 82.35%
222.863.9282.35HWB
Hue
Whiteness
Blackness
hex#0A142D
rgb10 20 45
hsl222.86 63.64% 10.78%
cmyk77.78% 55.56% 0% 82.35%
hwb222.86 3.92% 82.35%
xyz0.85 0.75 2.58
CMYK
77.78% 55.56% 0% 82.35%
77.7855.56082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.85 0.75 2.58
0.850.752.58XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025