Midnight

#0A142E

General Information about #0A142E

The hex color #0A142E, often referred to as 'Midnight,' is a dark, muted shade of blue with a subtle hint of green. It belongs to the family of cool colors and evokes a sense of depth, mystery, and tranquility. In the RGB color model, it is composed of 3.92% red, 7.84% green, and 18.04% blue. The color is commonly associated with night, darkness, and sophistication. In design, it's frequently used to create a sense of depth or to provide a dark background that makes lighter elements stand out. The hexadecimal system represents colors using a 6-digit code, where each pair of digits corresponds to the intensity of red, green, and blue, respectively. The color can be converted to other color models like CMYK for printing purposes.

The hex color #0a142e, also known as Midnight, presents specific accessibility challenges, especially in web design. Its dark nature means it requires careful consideration to ensure sufficient contrast with foreground elements like text or icons. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #0a142e as a background color necessitates light-colored text to meet these standards. Tools like contrast checkers can help verify compliance. It's also crucial to consider users with visual impairments, who might struggle to differentiate between shades close to #0a142e. Providing alternative, high-contrast themes is a good practice to enhance accessibility for all users. Proper use of ARIA attributes can further improve the experience for those using assistive technologies.

Shades

Digital Color Formats

RGB
10 20 46
RGB10 20 46
Red
Green
Blue
HSL
223.33deg 64.29% 10.98%
223.3364.2910.98HSL
Hue
Saturation
Lightness
HWB
223.33deg 3.92% 81.96%
223.333.9281.96HWB
Hue
Whiteness
Blackness
hex#0A142E
rgb10 20 46
hsl223.33deg 64.29% 10.98%
cmyk78.26% 56.52% 0% 81.96%
hwb223.33deg 3.92% 81.96%
xyz-d650.01 0.01 0.03
oklch0.1989 0.0541 265.88
oklab0.1989 0 -0.05
CMYK
78.26% 56.52% 0% 81.96%
78.2656.52081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1989 0.0541 265.88
0.19890.0541265.88LCH
Lightness
Chroma
Hue
OKLAB
0.1989 0 -0.05
0.19890-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons