Midnight

#0A1634

About Midnight (#0A1634)

The hex color code #0A1634, also known as Midnight, is a very dark shade of blue. In the RGB color model, it is composed of 3.92% red, 8.63% green, and 20.39% blue. When represented in the CMYK color model, it consists of 81% cyan, 58% magenta, 0% yellow, and 80% black. This color is often associated with calmness, sophistication, and depth. It evokes a sense of mystery and serenity, resembling the night sky. Due to its low brightness value, it requires careful consideration when used in designs, especially concerning readability and contrast. It is suitable for creating backgrounds or accents that need to convey a sense of understated elegance.

The hex color #0A1634, also known as Midnight, presents some accessibility challenges, especially when used as a background color for text. Due to its very low luminance, it demands careful consideration of color contrast ratios. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text against a background. Using #0A1634 necessitates pairing it with a very light color to ensure readability for users with visual impairments. Tools like WebAIM's contrast checker can be invaluable in determining suitable foreground colors. It's advisable to avoid using this color for essential UI elements or large blocks of text unless sufficient contrast can be guaranteed. Careful attention to color pairings is crucial for inclusive design.

Shades

Digital Color Formats

RGB
10 22 52
RGB10 22 52
Red
Green
Blue
HSL
222.86deg 67.74% 12.16%
222.8667.7412.16HSL
Hue
Saturation
Lightness
HWB
222.86deg 3.92% 79.61%
222.863.9279.61HWB
Hue
Whiteness
Blackness
hex#0A1634
rgb10 22 52
hsl222.86deg 67.74% 12.16%
cmyk80.77% 57.69% 0% 79.61%
hwb222.86deg 3.92% 79.61%
xyz-d650.01 0.01 0.03
oklch0.2095 0.0615 265.12
oklab0.2095 -0.01 -0.06
CMYK
80.77% 57.69% 0% 79.61%
80.7757.69079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2095 0.0615 265.12
0.20950.0615265.12LCH
Lightness
Chroma
Hue
OKLAB
0.2095 -0.01 -0.06
0.2095-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons