Midnight

#081230

General Information about Midnight (#081230)

The hex color #081230, often referred to as "Midnight," is a deep, dark shade of blue that evokes a sense of calmness and mystery. It belongs to the family of dark blues and is characterized by its low saturation and luminance. This color is commonly associated with the night sky, lending a feeling of tranquility and sophistication. In terms of color composition, #081230 is primarily composed of blue pigment, with very small amounts of red and green, making it lean towards a cool color temperature. Due to its darkness, Midnight is frequently used as a background color to make lighter elements stand out, and its subtle nature allows it to be combined with a wide range of other colors.

The hex color #081230, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. With such a dark shade, it's crucial to ensure sufficient contrast when used with text or other visual elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text (14pt bold or 18pt regular). Given the darkness of #081230, only very light colors like white or bright yellow would likely meet these contrast requirements. Therefore, web developers must carefully select foreground colors and test them using contrast checkers to guarantee readability for users with visual impairments. It's generally advisable to avoid using #081230 for essential interface elements or large blocks of text unless paired with a high-contrast color.

Shades

Digital Color Formats

RGB
8 18 48
RGB8 18 48
Red
Green
Blue
HSL
225deg 71.43% 10.98%
22571.4310.98HSL
Hue
Saturation
Lightness
HWB
225deg 3.14% 81.18%
2253.1481.18HWB
Hue
Whiteness
Blackness
hex#081230
rgb8 18 48
hsl225deg 71.43% 10.98%
cmyk83.33% 62.5% 0% 81.18%
hwb225deg 3.14% 81.18%
xyz-d650.01 0.01 0.03
oklch0.1941 0.0617 266.59
oklab0.1941 0 -0.06
CMYK
83.33% 62.5% 0% 81.18%
83.3362.5081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1941 0.0617 266.59
0.19410.0617266.59LCH
Lightness
Chroma
Hue
OKLAB
0.1941 0 -0.06
0.19410-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons