Midnight

#0A1830

General Information about #0A1830 (Midnight)

The hex color code #0A1830 represents a dark shade of blue, often referred to as Midnight. It is composed of 3.92% red, 9.41% green, and 18.82% blue. In the RGB color model, it is defined by the values R:10, G:24, and B:48. The corresponding CMYK values are C:79, M:50, Y:0, and K:81. This color is typically associated with sophistication, depth, and mystery. Due to its dark nature, it is often used in contexts where a sense of calm and elegance is desired. In digital design, it can be used to create a feeling of calmness and serenity. Midnight, #0A1830, is a great color for a mature and sophisticated look.

The hex color #0A1830, also known as Midnight, presents significant accessibility challenges due to its low luminance. Its dark nature results in very low contrast against typical light backgrounds, such as white (#FFFFFF) or light gray (#EEEEEE). This low contrast ratio can make text and graphical elements difficult to read for users, especially those with visual impairments or color vision deficiencies. To improve accessibility, it is essential to pair #0A1830 with a very light color for text and interactive elements. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as per WCAG guidelines. Using tools like contrast checkers can help ensure sufficient contrast. Alternatively, consider using slightly lighter shades of blue or gray to achieve better contrast while maintaining a similar aesthetic.

Shades

Digital Color Formats

RGB
10 24 48
RGB10 24 48
Red
Green
Blue
HSL
217.89 65.52% 11.37%
217.8965.5211.37HSL
Hue
Saturation
Lightness
HWB
217.89 3.92% 81.18%
217.893.9281.18HWB
Hue
Whiteness
Blackness
hex#0A1830
rgb10 24 48
hsl217.89 65.52% 11.37%
cmyk79.17% 50% 0% 81.18%
hwb217.89 3.92% 81.18%
xyz0.99 0.93 2.92
CMYK
79.17% 50% 0% 81.18%
79.1750081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.99 0.93 2.92
0.990.932.92XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025