Midnight

#0A1232

General Information about #0A1232

The hexadecimal color code #0A1232, also known as Midnight, represents a very dark shade of blue. It is composed of 3.92% red, 7.06% green, and 20.6% blue. In the RGB color model, this translates to R:10, G:18, B:50. Its CMYK representation is C:80, M:64, Y:0, K:80. Hex #0A1232 has a hue angle of 223.3 degrees, a saturation of 100%, and a lightness of 11.8%. The color is often associated with elegance, mystery, and sophistication, finding applications in designs aiming for a premium or understated feel. Its darkness lends itself well to creating contrast with lighter elements, making it suitable for backgrounds and text highlighting.

The color #0A1232, also known as Midnight, presents significant accessibility challenges due to its extremely dark hue. With very low luminance, it provides insufficient contrast against lighter text or backgrounds, potentially violating WCAG (Web Content Accessibility Guidelines) standards. To ensure readability, it's crucial to pair this color with very light shades, such as white or very pale yellows. Using contrast checking tools is highly recommended to verify compliance with accessibility guidelines, aiming for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Avoid using this color for important UI elements or text without careful consideration of its impact on users with visual impairments. Adequate testing with diverse user groups is essential to validate the design's accessibility. When this color is used for decorative reasons, accessibility is less of an issue.

Shades

Digital Color Formats

RGB
10 18 50
RGB10 18 50
Red
Green
Blue
HSL
228 66.67% 11.76%
22866.6711.76HSL
Hue
Saturation
Lightness
HWB
228 3.92% 80.39%
2283.9280.39HWB
Hue
Whiteness
Blackness
hex#0A1232
rgb10 18 50
hsl228 66.67% 11.76%
cmyk80% 64% 0% 80.39%
hwb228 3.92% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1973 0.0644 269.17
oklab0.1973 0 -0.06
CMYK
80% 64% 0% 80.39%
8064080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1973 0.0644 269.17
0.19730.0644269.17LCH
Lightness
Chroma
Hue
OKLAB
0.1973 0 -0.06
0.19730-0.06LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons