Midnight Blue

#00306B

General Information about Midnight Blue

Midnight Blue, represented by the hex code #00306b, is a deep and rich shade of blue that evokes feelings of calmness, stability, and sophistication. It is often associated with the night sky just after twilight, capturing the serene and mysterious atmosphere. In the RGB color model, it consists of 0% red, 18.8% green, and 41.96% blue. This particular combination results in a color that is both visually appealing and versatile, finding applications across various design disciplines. Its depth allows it to serve as a strong background color, while its inherent elegance makes it suitable for use in more refined and formal contexts.

The hex color #00306b, also known as Midnight Blue, presents specific accessibility considerations for web developers. Its dark hue implies a low luminance value, necessitating careful attention to color contrast. According to WCAG guidelines, sufficient contrast between text and background colors is crucial for readability, especially for users with visual impairments. For text displayed on a #00306b background, it is recommended to use light colors such as white (#ffffff) or very light shades of yellow or gray to achieve a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Tools like contrast checkers can verify compliance. Furthermore, avoid using color as the sole means of conveying information; supplement color cues with text labels or icons to ensure accessibility for colorblind users. When using #00306b for interactive elements like buttons or links, ensure that hover, focus, and active states also maintain sufficient contrast to provide clear visual feedback to users.

Shades

Digital Color Formats

RGB
0 48 107
RGB0 48 107
Red
Green
Blue
HSL
213.08 100% 20.98%
213.0810020.98HSL
Hue
Saturation
Lightness
HWB
213.08 0% 58.04%
213.08058.04HWB
Hue
Whiteness
Blackness
hex#00306B
rgb0 48 107
hsl213.08 100% 20.98%
cmyk100% 55.14% 0% 58.04%
hwb213.08 0% 58.04%
xyz3.71 3.18 14.33
CMYK
100% 55.14% 0% 58.04%
10055.14058.04CMYK
Cyan
Magenta
Yellow
Key
XYZ
3.71 3.18 14.33
3.713.1814.33XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025