Midnight

#081233

General Information about Midnight (#081233)

The hex color #081233, also known as Midnight, is a deep, dark shade of blue, reminiscent of the night sky or the depths of the ocean. It belongs to the blue color family and exhibits low saturation and luminance values. In the RGB color model, #081233 consists of 3.14% red, 7.06% green, and 20% blue. This composition explains its deep, muted hue. Colors like Midnight are often associated with feelings of calm, depth, and mystery, making them a popular choice in designs aiming to convey elegance or sophistication. Its hexadecimal triplet is 081233. The color is often used in web design as backgrounds for dark mode themes.

The hex color #081233, often referred to as Midnight, presents significant accessibility challenges, primarily due to its low luminance. When used as a background color, it necessitates very light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet AA compliance. Given Midnight's darkness, careful selection of foreground colors is crucial. White or very pale shades of yellow or green would be suitable choices. In user interface design, avoid using this color for crucial interactive elements without a high-contrast alternative state, such as a hover or focus effect. Additionally, consider users with visual impairments; providing options for high-contrast display themes can significantly improve their experience when this color is part of the design.

Shades

Digital Color Formats

RGB
8 18 51
RGB8 18 51
Red
Green
Blue
HSL
226.05 72.88% 11.57%
226.0572.8811.57HSL
Hue
Saturation
Lightness
HWB
226.05 3.14% 80%
226.053.1480HWB
Hue
Whiteness
Blackness
hex#081233
rgb8 18 51
hsl226.05 72.88% 11.57%
cmyk84.31% 64.71% 0% 80%
hwb226.05 3.14% 80%
xyz0.91 0.72 3.22
CMYK
84.31% 64.71% 0% 80%
84.3164.71080CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.91 0.72 3.22
0.910.723.22XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025