Midnight

#0A1B33

General Information About Midnight (#0A1B33)

The hexadecimal color code #0A1B33, also known as Midnight, is a dark shade of blue. It is composed of 3.92% red, 10.59% green, and 20% blue. In the RGB color space, it has the numerical values (10, 27, 51). Its CMYK representation is 0.8, 0.47, 0, 0.8, which means it consists of 80% cyan, 47% magenta, 0% yellow and 80% black. Midnight is commonly associated with feelings of calm, sophistication, and depth. This color finds its place in various applications, from graphic design to fashion, and can bring a sense of elegance and tranquility.

The hex color #0A1B33, also known as Midnight, presents specific accessibility challenges, especially concerning color contrast. When used as a background color, it requires very light text colors to ensure readability. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text, as per WCAG guidelines. This dark hue may cause issues for users with low vision or color blindness if not paired thoughtfully with contrasting foreground elements. Ensuring sufficient contrast is essential for creating an inclusive and user-friendly design. It's also important to consider how this color renders on different devices and under various lighting conditions, as perceived contrast can vary.

Shades

Digital Color Formats

RGB
10 27 51
RGB10 27 51
Red
Green
Blue
HSL
215.12deg 67.21% 11.96%
215.1267.2111.96HSL
Hue
Saturation
Lightness
HWB
215.12deg 3.92% 80%
215.123.9280HWB
Hue
Whiteness
Blackness
hex#0A1B33
rgb10 27 51
hsl215.12deg 67.21% 11.96%
cmyk80.39% 47.06% 0% 80%
hwb215.12deg 3.92% 80%
xyz-d650.01 0.01 0.03
oklch0.2223 0.0524 257.37
oklab0.2223 -0.01 -0.05
CMYK
80.39% 47.06% 0% 80%
80.3947.06080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2223 0.0524 257.37
0.22230.0524257.37LCH
Lightness
Chroma
Hue
OKLAB
0.2223 -0.01 -0.05
0.2223-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons