Midnight

#0B1B31

General Information about #0B1B31

The hexadecimal color code #0B1B31 represents a very dark shade of blue, often referred to as 'Midnight.' It is composed of 4.31% red, 10.59% green, and 19.22% blue. In the RGB color model, this corresponds to R:11, G:27, B:49. The CMYK representation of #0B1B31 is approximately C:78, M:45, Y:0, K:81, indicating a substantial amount of cyan and magenta with minimal yellow. This color is frequently associated with feelings of calmness, mystery, and sophistication, reflecting the quiet depth of a moonlit night. Due to its darkness, it is generally used as a background or accent color to highlight lighter elements and create contrast in visual designs. This colour is well suited for themes and designs aiming for a dark and elegant aesthetic.

The color #0B1B31, a deep, dark hue, presents significant accessibility challenges, particularly in text and user interface design. Its extremely low luminance makes it difficult to distinguish from black, necessitating careful consideration of contrast ratios. To ensure readability and usability, it is crucial to pair this color with significantly lighter hues for foreground elements like text or icons. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as per WCAG guidelines. Moreover, avoid using this color for critical interactive elements without sufficient visual cues, as users with low vision may struggle to perceive them. Thorough testing with accessibility tools and diverse user groups is essential to validate the design's inclusivity and address potential barriers. Adequate color contrast is not just a best practice, but a legal requirement in many contexts, ensuring equitable access to information and functionality for all users, including those with visual impairments.

Shades

Digital Color Formats

RGB
11 27 49
RGB11 27 49
Red
Green
Blue
HSL
214.74deg 63.33% 11.76%
214.7463.3311.76HSL
Hue
Saturation
Lightness
HWB
214.74deg 4.31% 80.78%
214.744.3180.78HWB
Hue
Whiteness
Blackness
hex#0B1B31
rgb11 27 49
hsl214.74deg 63.33% 11.76%
cmyk77.55% 44.9% 0% 80.78%
hwb214.74deg 4.31% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2213 0.0485 256.81
oklab0.2213 -0.01 -0.05
CMYK
77.55% 44.9% 0% 80.78%
77.5544.9080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2213 0.0485 256.81
0.22130.0485256.81LCH
Lightness
Chroma
Hue
OKLAB
0.2213 -0.01 -0.05
0.2213-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons