Midnight

#0A1D34

General Information about Midnight (#0A1D34)

The hexadecimal color #0A1D34, also known as Midnight, is a dark shade of blue-gray. It is composed of 3.92% red, 11.37% green, and 20.39% blue. In the RGB color model, #0A1D34 has the decimal values of 10 red, 29 green, and 52 blue. In the CMYK color model, it is composed of 80.77% cyan, 44.23% magenta, 0% yellow, and 79.61% black. This color is often associated with sophistication, mystery, and depth. Its dark tone suggests a sense of calm and stability, making it a popular choice for designs aiming to convey professionalism or elegance. Midnight is often found in nighttime scenes and is used to represent the late hours or the depths of the ocean.

The hex color #0A1D34, also known as Midnight, presents some accessibility challenges, primarily due to its low luminance. When used as a background color, it requires very light text to ensure sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Pairing this color with a lighter hue, like a pale yellow or off-white, is essential for ensuring that content is accessible to users with visual impairments. It's also crucial to consider providing alternative text and cues for interactive elements to further enhance accessibility for all users. Careful consideration of color combinations is paramount when using #0A1D34 in web design.

Shades

Digital Color Formats

RGB
10 29 52
RGB10 29 52
Red
Green
Blue
HSL
212.86deg 67.74% 12.16%
212.8667.7412.16HSL
Hue
Saturation
Lightness
HWB
212.86deg 3.92% 79.61%
212.863.9279.61HWB
Hue
Whiteness
Blackness
hex#0A1D34
rgb10 29 52
hsl212.86deg 67.74% 12.16%
cmyk80.77% 44.23% 0% 79.61%
hwb212.86deg 3.92% 79.61%
xyz-d650.01 0.01 0.03
oklch0.2287 0.0514 254.6
oklab0.2287 -0.01 -0.05
CMYK
80.77% 44.23% 0% 79.61%
80.7744.23079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2287 0.0514 254.6
0.22870.0514254.6LCH
Lightness
Chroma
Hue
OKLAB
0.2287 -0.01 -0.05
0.2287-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons