Midnight

#0A1E34

General Information about #0A1E34

The hexadecimal color code #0A1E34, commonly referred to as Midnight, represents a deep, dark shade of blue. It is composed of 3.92% red, 11.76% green, and 20.39% blue. In the RGB color model, it translates to (10, 30, 52). This color is often associated with sophistication, mystery, and calmness. It evokes a sense of the night sky or the deep sea. Midnight is frequently used in designs where a subtle yet impactful color is desired, lending a touch of elegance and depth. It is used in various creative fields, including web design, graphic design, and interior decoration. The color's low luminance value makes it important to consider contrast ratios when using it for text or interactive elements to ensure accessibility.

The color #0A1E34, also known as Midnight, presents accessibility challenges, particularly when used for text or interactive elements. Its low luminance value results in poor contrast against lighter backgrounds, potentially violating WCAG guidelines for minimum contrast ratios. To ensure readability and usability, especially for users with visual impairments, it's crucial to pair this color with significantly lighter shades. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. Careful consideration should be given to the size and weight of the text when using this color. Employing tools to check color contrast is essential during the design process. Furthermore, avoid relying solely on color to convey information, as users who are color blind might not be able to distinguish it from similar dark shades. Provide alternative cues, such as text labels or icons, to enhance accessibility.

Shades

Digital Color Formats

RGB
10 30 52
RGB10 30 52
Red
Green
Blue
HSL
211.43deg 67.74% 12.16%
211.4367.7412.16HSL
Hue
Saturation
Lightness
HWB
211.43deg 3.92% 79.61%
211.433.9279.61HWB
Hue
Whiteness
Blackness
hex#0A1E34
rgb10 30 52
hsl211.43deg 67.74% 12.16%
cmyk80.77% 42.31% 0% 79.61%
hwb211.43deg 3.92% 79.61%
xyz-d650.01 0.01 0.03
oklch0.2315 0.0501 252.7
oklab0.2315 -0.01 -0.05
CMYK
80.77% 42.31% 0% 79.61%
80.7742.31079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2315 0.0501 252.7
0.23150.0501252.7LCH
Lightness
Chroma
Hue
OKLAB
0.2315 -0.01 -0.05
0.2315-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons