#1f5a7d - Midnight Blue Hex Color Code

#1F5A7D (Midnight Blue) - RGB 31, 90, 125 Color Information

#1f5a7d Conversion Table

HEX Triplet 1F, 5A, 7D
RGB Decimal 31, 90, 125
RGB Octal 37, 132, 175
RGB Percent 12.2%, 35.3%, 49%
RGB Binary 11111, 1011010, 1111101
CMY 0.878, 0.647, 0.510
CMYK 75, 28, 0, 51

Percentages of Color #1F5A7D

R 12.2%
G 35.3%
B 49%
RGB Percentages of Color #1f5a7d
C 75%
M 28%
Y 0%
K 51%
CMYK Percentages of Color #1f5a7d

Color spaces of #1F5A7D Midnight Blue - RGB(31, 90, 125)

HSV (or HSB) 202°, 75°, 49°
HSL 202°, 60°, 31°
Web Safe #336666
XYZ 7.923, 9.084, 20.738
CIE-Lab 36.146, -6.351, -25.164
xyY 0.210, 0.241, 9.084
Decimal 2054781

#1f5a7d Color Accessibility Scores (Midnight Blue Contrast Checker)

#1f5a7d

On dark background [POOR]

#1f5a7d

On light background [GOOD]

#1f5a7d

As background color [GOOD]

Midnight Blue ↔ #1f5a7d Color Blindness Simulator

Coming soon... You can see how #1f5a7d 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.

#1F5A7D Color Combinations - Color Schemes with 1f5a7d

#1f5a7d Analogous Colors

#1f5a7d Triadic Colors

#1f5a7d Split Complementary Colors

#1f5a7d Complementary Colors

Shades and Tints of #1f5a7d Color Variations

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

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

Alternatives colours to Midnight Blue (#1f5a7d)

#1f5a7d Color Codes for CSS3/HTML5 and Icon Previews

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

#1F5A7D in Programming

HTML5, CSS3 #1f5a7d
Java new Color(31, 90, 125);
.NET Color.FromArgb(255, 31, 90, 125);
Swift UIColor(red:31, green:90, blue:125, alpha:1.00000)
Objective-C [UIColor colorWithRed:31 green:90 blue:125 alpha:1.00000];
OpenGL glColor3f(31f, 90f, 125f);
Python Color('#1f5a7d')

#1f5a7d - RGB(31, 90, 125) - Midnight Blue Color FAQ

What is the color code for Midnight Blue?

Hex color code for Midnight Blue color is #1f5a7d. RGB color code for midnight blue color is rgb(31, 90, 125).

What is the RGB value of #1f5a7d?

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

What is the RGB percentage of #1f5a7d?

The RGB percentage composition for the hexadecimal color code #1f5a7d is detailed as follows: 12.2% Red, 35.3% Green, and 49% Blue. This breakdown indicates the relative contribution of each primary color in the RGB color model to achieve this specific shade. The value 12.2% for Red signifies a dominant red component, contributing significantly to the overall color. The Green and Blue components are comparatively lower, with 35.3% and 49% 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 #1f5a7d.

What does RGB 31,90,125 mean?

The RGB color 31, 90, 125 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 #1f5a7d?

In the CMYK (Cyan, Magenta, Yellow, Black) color model, the color represented by the hexadecimal code #1f5a7d is composed of 75% Cyan, 28% 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 28% 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 #1f5a7d?

In the HSL (Hue, Saturation, Lightness) color model, the color represented by the hexadecimal code #1f5a7d has an HSL value of 202° (degrees) for Hue, 60% for Saturation, and 31% for Lightness. In this HSL representation, the Hue at 202° indicates the basic color tone, which is a shade of red in this case. The Saturation value of 60% 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?
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...

Creating a Branded Educational Identity: A Guide to HTML Color Palette Selection

The creation of a color palette for branding purposes in the field of education follows unique goals that usually go beyond classic marketing methods. The reason for that is the necessity to create a different kind of brand recognition where the use ...

Exploring the Role of Colors in Branding

Colors play an indispensable role in shaping a brand’s identity, influencing consumer perception and reaction toward a business. These elements provoke an array of emotions, guide decision-making processes, and communicate the ethos a brand emb...

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...

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...