#20507e - Midnight Blue Hex Color Code

#20507E (Midnight Blue) - RGB 32, 80, 126 Color Information

#20507e Conversion Table

HEX Triplet 20, 50, 7E
RGB Decimal 32, 80, 126
RGB Octal 40, 120, 176
RGB Percent 12.5%, 31.4%, 49.4%
RGB Binary 100000, 1010000, 1111110
CMY 0.875, 0.686, 0.506
CMYK 75, 37, 0, 51

Percentages of Color #20507E

R 12.5%
G 31.4%
B 49.4%
RGB Percentages of Color #20507e
C 75%
M 37%
Y 0%
K 51%
CMYK Percentages of Color #20507e

Color spaces of #20507E Midnight Blue - RGB(32, 80, 126)

HSV (or HSB) 209°, 75°, 49°
HSL 209°, 59°, 31°
Web Safe #336666
XYZ 7.230, 7.551, 20.815
CIE-Lab 33.029, 0.523, -30.680
xyY 0.203, 0.212, 7.551
Decimal 2117758

#20507e Color Accessibility Scores (Midnight Blue Contrast Checker)

#20507e

On dark background [POOR]

#20507e

On light background [GOOD]

#20507e

As background color [GOOD]

Midnight Blue ↔ #20507e Color Blindness Simulator

Coming soon... You can see how #20507e is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

#20507E Color Combinations - Color Schemes with 20507e

#20507e Analogous Colors

#20507e Triadic Colors

#20507e Split Complementary Colors

#20507e Complementary Colors

Shades and Tints of #20507e Color Variations

#20507e Shade Color Variations (When you combine pure black with this color, #20507e, darker shades are produced.)

#20507e Tint Color Variations (Lighter shades of #20507e can be created by blending the color with different amounts of white.)

Alternatives colours to Midnight Blue (#20507e)

#20507e Color Codes for CSS3/HTML5 and Icon Previews

Text with Hexadecimal Color #20507e
This sample text has a font color of #20507e
#20507e Border Color
This sample element has a border color of #20507e
#20507e CSS3 Linear Gradient
#20507e Background Color
This sample paragraph has a background color of #20507e
#20507e Text Shadow
This sample text has a shadow color of #20507e
Sample text with glow color #20507e
This sample text has a glow color of #20507e
#20507e Box Shadow
This sample element has a box shadow of #20507e
Sample text with Underline Color #20507e
This sample text has a underline color of #20507e
A selection of SVG images/icons using the hex version #20507e of the current color.

#20507E in Programming

HTML5, CSS3 #20507e
Java new Color(32, 80, 126);
.NET Color.FromArgb(255, 32, 80, 126);
Swift UIColor(red:32, green:80, blue:126, alpha:1.00000)
Objective-C [UIColor colorWithRed:32 green:80 blue:126 alpha:1.00000];
OpenGL glColor3f(32f, 80f, 126f);
Python Color('#20507e')

#20507e - RGB(32, 80, 126) - Midnight Blue Color FAQ

What is the color code for Midnight Blue?

Hex color code for Midnight Blue color is #20507e. RGB color code for midnight blue color is rgb(32, 80, 126).

What is the RGB value of #20507e?

The RGB value corresponding to the hexadecimal color code #20507e is rgb(32, 80, 126). These values represent the intensities of the red, green, and blue components of the color, respectively. Here, '32' indicates the intensity of the red component, '80' represents the green component's intensity, and '126' denotes the blue component's intensity. Combined in these specific proportions, these three color components create the color represented by #20507e.

What is the RGB percentage of #20507e?

The RGB percentage composition for the hexadecimal color code #20507e is detailed as follows: 12.5% Red, 31.4% Green, and 49.4% Blue. This breakdown indicates the relative contribution of each primary color in the RGB color model to achieve this specific shade. The value 12.5% for Red signifies a dominant red component, contributing significantly to the overall color. The Green and Blue components are comparatively lower, with 31.4% and 49.4% respectively, playing a smaller role in the composition of this particular hue. Together, these percentages of Red, Green, and Blue mix to form the distinct color represented by #20507e.

What does RGB 32,80,126 mean?

The RGB color 32, 80, 126 represents a dull and muted shade of Blue. The websafe version of this color is hex 336666. This color might be commonly referred to as a shade similar to Midnight Blue.

What is the CMYK (Cyan Magenta Yellow Black) color model of #20507e?

In the CMYK (Cyan, Magenta, Yellow, Black) color model, the color represented by the hexadecimal code #20507e is composed of 75% Cyan, 37% Magenta, 0% Yellow, and 51% Black. In this CMYK breakdown, the Cyan component at 75% influences the coolness or green-blue aspects of the color, whereas the 37% of Magenta contributes to the red-purple qualities. The 0% of Yellow typically adds to the brightness and warmth, and the 51% of Black determines the depth and overall darkness of the shade. The resulting color can range from bright and vivid to deep and muted, depending on these CMYK values. The CMYK color model is crucial in color printing and graphic design, offering a practical way to mix these four ink colors to create a vast spectrum of hues.

What is the HSL value of #20507e?

In the HSL (Hue, Saturation, Lightness) color model, the color represented by the hexadecimal code #20507e has an HSL value of 209° (degrees) for Hue, 59% for Saturation, and 31% for Lightness. In this HSL representation, the Hue at 209° indicates the basic color tone, which is a shade of red in this case. The Saturation value of 59% describes the intensity or purity of this color, with a higher percentage indicating a more vivid and pure color. The Lightness value of 31% determines the brightness of the color, where a higher percentage represents a lighter shade. Together, these HSL values combine to create the distinctive shade of red that is both moderately vivid and fairly bright, as indicated by the specific values for this color. The HSL color model is particularly useful in digital arts and web design, as it allows for easy adjustments of color tones, saturation, and brightness levels.

Did you know our free color tools?
A/B testing: How to optimize website design and content for maximum conversion

Do you want to learn more about A/B testing and how to optimize design and content for maximum conversion? Here are some tips and tricks. The world we live in is highly technologized. Every business and organization have to make its presence online n...

What Is The Conversion Rate Formula?

What is the conversion rate formula? Well, the conversion rate formula is a way to calculate the rate at which a marketing campaign converts leads into customers. To determine the success of your online marketing campaigns, it’s important to un...

The Ultimate Conversion Rate Optimization (CRO) Checklist

If you’re running a business, then you know that increasing your conversion rate is essential to your success. After all, if people aren’t buying from you, then you’re not making any money! And while there are many things you can do...

The Effect of Commercial Site Interface Colors on Conversion

Different shades have a huge impact on conversion rates of websites. Read to discover how. Do colors affect the performance of a website? Well, it’s quite complicated. To some degree, color affects a site’s performance. But not directly. Color psycho...

E-commerce Homepage Examples & CRO Best Practices

Conversion rate optimization (CRO) is a critical aspect of e-commerce success. By optimizing your homepage, you can increase the chances that visitors will take the desired action, whether it be signing up for a newsletter, making a purchase, or down...