Midnight

#031A36

General Information about #031A36

The hex color code #031A36 represents a very dark shade of blue, often described as Midnight. It is composed of 1.18% red, 10.2% green, and 21.18% blue. In the RGB color model, it's defined as (3, 26, 54). This color evokes feelings of calmness and sophistication, although its darkness may also be associated with seriousness and mystery. Due to its low brightness, #031A36 is often used as a background color or as an accent color in designs where a subtle, muted tone is desired. It's important to consider the contrast when using this color with text or other elements to ensure accessibility and readability. The color is often associeted with the nightsky.

The hex color #031A36, a deep midnight hue, presents significant accessibility challenges, particularly concerning color contrast. When used as a background, it demands very light text colors to ensure readability, complying with WCAG guidelines for contrast ratios. The contrast ratio should be at least 4.5:1 for normal text and 3:1 for large text. Avoid pairing it with mid-tone grays or similarly dark colors, as this will render content illegible for users with visual impairments. Using a color contrast checker is highly recommended to validate compliance. It is also crucial to consider users with cognitive disabilities; overly complex backgrounds or insufficient contrast can hinder their ability to process information effectively. Thoughtful application of this color is essential for inclusive design.

Shades

Digital Color Formats

RGB
3 26 54
RGB3 26 54
Red
Green
Blue
HSL
212.94deg 89.47% 11.18%
212.9489.4711.18HSL
Hue
Saturation
Lightness
HWB
212.94deg 1.18% 78.82%
212.941.1878.82HWB
Hue
Whiteness
Blackness
hex#031A36
rgb3 26 54
hsl212.94deg 89.47% 11.18%
cmyk94.44% 51.85% 0% 78.82%
hwb212.94deg 1.18% 78.82%
xyz-d650.01 0.01 0.04
oklch0.218 0.0624 254.42
oklab0.218 -0.02 -0.06
CMYK
94.44% 51.85% 0% 78.82%
94.4451.85078.82CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.218 0.0624 254.42
0.2180.0624254.42LCH
Lightness
Chroma
Hue
OKLAB
0.218 -0.02 -0.06
0.218-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons