Midnight

#0A1233

General Information about Midnight (#0A1233)

#0A1233, also known as Midnight, is a very dark shade of blue categorized as a tertiary color. In the RGB color model, it is composed of 3.92% red, 7.06% green, and 20% blue. Its CMYK values are 80.4%, 64%, 0%, and 80%, respectively. The color is often associated with feelings of calmness, sophistication, and mystery. Midnight's hexadecimal code #0A1233 is used extensively in digital design and web development to specify color values. This color is notably used to create elegant visual effects for dark themed websites. Understanding the nuances of this color space is crucial for designers and developers who work to represent color accurately across various digital platforms, ensuring aesthetic appeal and usability.

The hex color #0A1233, also known as Midnight, presents significant accessibility challenges due to its very dark hue. Its low luminance results in poor contrast against white text, making it difficult for users with visual impairments to read. 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. Midnight fails to meet these ratios when paired with standard light-colored text, posing readability issues. To improve accessibility, consider using lighter text colors, such as white or very light grays, and verify contrast ratios using online tools. Alternatively, incorporate this color sparingly in designs where readability is not critical, or pair it with other brighter colors to enhance visibility. Ensuring sufficient contrast is crucial for inclusive web design.

Shades

Digital Color Formats

RGB
10 18 51
RGB10 18 51
Red
Green
Blue
HSL
228.29deg 67.21% 11.96%
228.2967.2111.96HSL
Hue
Saturation
Lightness
HWB
228.29deg 3.92% 80%
228.293.9280HWB
Hue
Whiteness
Blackness
hex#0A1233
rgb10 18 51
hsl228.29deg 67.21% 11.96%
cmyk80.39% 64.71% 0% 80%
hwb228.29deg 3.92% 80%
xyz-d650.01 0.01 0.03
oklch0.1983 0.0661 269.26
oklab0.1983 0 -0.07
CMYK
80.39% 64.71% 0% 80%
80.3964.71080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1983 0.0661 269.26
0.19830.0661269.26LCH
Lightness
Chroma
Hue
OKLAB
0.1983 0 -0.07
0.19830-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons