Midnight

#0A1A33

General Information about #0A1A33 (Midnight)

The hexadecimal color code #0A1A33, commonly referred to as Midnight, represents a very dark shade of blue. It is composed of 3.92% red, 10.2% green, and 20% blue. In the RGB color model, it is defined by the values R:10, G:26, and B:51. This color is often associated with feelings of calmness, depth, and sophistication. Its darkness lends itself well to creating a sense of mystery or elegance. In color theory, #0A1A33 falls within the blue-violet range and is considered a cool color. It can be used in various design applications to evoke a sense of serenity or professionalism.

The hex color #0A1A33, also known as Midnight, presents several accessibility considerations for web developers. Due to its dark nature, it requires careful pairing with lighter text colors to ensure sufficient contrast. A contrast ratio of at least 4.5:1 is recommended for standard text, and 3:1 for large text, as per WCAG guidelines. Using online contrast checkers can help verify compliance. When used for interactive elements, sufficient visual cues beyond color alone are crucial, such as underlines for links or borders for buttons. Proper ARIA attributes should be implemented to provide semantic meaning and enhance accessibility for users with disabilities, particularly those using screen readers. Also, it's important to consider the cognitive load this color might impose and offer alternative themes if needed.

Shades

Digital Color Formats

RGB
10 26 51
RGB10 26 51
Red
Green
Blue
HSL
216.59deg 67.21% 11.96%
216.5967.2111.96HSL
Hue
Saturation
Lightness
HWB
216.59deg 3.92% 80%
216.593.9280HWB
Hue
Whiteness
Blackness
hex#0A1A33
rgb10 26 51
hsl216.59deg 67.21% 11.96%
cmyk80.39% 49.02% 0% 80%
hwb216.59deg 3.92% 80%
xyz-d650.01 0.01 0.03
oklch0.2195 0.0538 259.05
oklab0.2195 -0.01 -0.05
CMYK
80.39% 49.02% 0% 80%
80.3949.02080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2195 0.0538 259.05
0.21950.0538259.05LCH
Lightness
Chroma
Hue
OKLAB
0.2195 -0.01 -0.05
0.2195-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons