Midnight

#0A1A2D

General Information about #0A1A2D

The hexadecimal color #0A1A2D, often referred to as 'Midnight', is a dark, muted shade of blue-black. It belongs to the family of cool colors and evokes feelings of tranquility, depth, and sophistication. In the RGB color model, #0A1A2D is composed of 3.92% red, 10.2% green, and 17.65% blue. Its CMYK representation is approximately 78% cyan, 42% magenta, 0% yellow, and 82% black. This color is often associated with night, mystery, and the unknown. Its low saturation makes it a versatile choice for backgrounds and elements where subtlety is desired. The color #0A1A2D is frequently used in designs that aim to convey a sense of professionalism, elegance, or understated power.

The hex color #0A1A2D, also known as Midnight, presents specific accessibility considerations for web developers. Its dark nature implies a low luminance value, which necessitates careful selection of foreground text and interactive elements to ensure sufficient contrast. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text. When using #0A1A2D as a background, lighter colors such as whites, yellows, or light greens are recommended for text to meet these standards. Failure to provide adequate contrast can exclude users with visual impairments, making the content inaccessible. Developers should use contrast ratio tools to verify compliance. Furthermore, consider providing alternative styling options that allow users to customize the color scheme to their preferences, further enhancing accessibility and inclusivity.

Shades

Digital Color Formats

RGB
10 26 45
RGB10 26 45
Red
Green
Blue
HSL
212.57deg 63.64% 10.78%
212.5763.6410.78HSL
Hue
Saturation
Lightness
HWB
212.57deg 3.92% 82.35%
212.573.9282.35HWB
Hue
Whiteness
Blackness
hex#0A1A2D
rgb10 26 45
hsl212.57deg 63.64% 10.78%
cmyk77.78% 42.22% 0% 82.35%
hwb212.57deg 3.92% 82.35%
xyz-d650.01 0.01 0.03
oklch0.215 0.0436 253.96
oklab0.215 -0.01 -0.04
CMYK
77.78% 42.22% 0% 82.35%
77.7842.22082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.215 0.0436 253.96
0.2150.0436253.96LCH
Lightness
Chroma
Hue
OKLAB
0.215 -0.01 -0.04
0.215-0.01-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons