#1f4f72 - Midnight Blue Hex Color Code

#1F4F72 (Midnight Blue) - RGB 31, 79, 114 Color Information

#1f4f72 Conversion Table

HEX Triplet 1F, 4F, 72
RGB Decimal 31, 79, 114
RGB Octal 37, 117, 162
RGB Percent 12.2%, 31%, 44.7%
RGB Binary 11111, 1001111, 1110010
CMY 0.878, 0.690, 0.553
CMYK 73, 31, 0, 55

Percentages of Color #1F4F72

R 12.2%
G 31%
B 44.7%
RGB Percentages of Color #1f4f72
C 73%
M 31%
Y 0%
K 55%
CMYK Percentages of Color #1f4f72

Color spaces of #1F4F72 Midnight Blue - RGB(31, 79, 114)

HSV (or HSB) 205°, 73°, 45°
HSL 205°, 57°, 28°
Web Safe #336666
XYZ 6.398, 7.098, 16.952
CIE-Lab 32.029, -3.626, -24.785
xyY 0.210, 0.233, 7.098
Decimal 2051954

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

#1f4f72

On dark background [POOR]

#1f4f72

On light background [GOOD]

#1f4f72

As background color [GOOD]

Midnight Blue ↔ #1f4f72 Color Blindness Simulator

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

#1F4F72 Color Combinations - Color Schemes with 1f4f72

#1f4f72 Analogous Colors

#1f4f72 Triadic Colors

#1f4f72 Split Complementary Colors

#1f4f72 Complementary Colors

Shades and Tints of #1f4f72 Color Variations

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

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

Alternatives colours to Midnight Blue (#1f4f72)

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

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

#1F4F72 in Programming

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

#1f4f72 - RGB(31, 79, 114) - Midnight Blue Color FAQ

What is the color code for Midnight Blue?

Hex color code for Midnight Blue color is #1f4f72. RGB color code for midnight blue color is rgb(31, 79, 114).

What is the RGB value of #1f4f72?

The RGB value corresponding to the hexadecimal color code #1f4f72 is rgb(31, 79, 114). 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, '79' represents the green component's intensity, and '114' denotes the blue component's intensity. Combined in these specific proportions, these three color components create the color represented by #1f4f72.

What is the RGB percentage of #1f4f72?

The RGB percentage composition for the hexadecimal color code #1f4f72 is detailed as follows: 12.2% Red, 31% Green, and 44.7% 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 31% and 44.7% 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 #1f4f72.

What does RGB 31,79,114 mean?

The RGB color 31, 79, 114 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 #1f4f72?

In the CMYK (Cyan, Magenta, Yellow, Black) color model, the color represented by the hexadecimal code #1f4f72 is composed of 73% Cyan, 31% Magenta, 0% Yellow, and 55% Black. In this CMYK breakdown, the Cyan component at 73% influences the coolness or green-blue aspects of the color, whereas the 31% of Magenta contributes to the red-purple qualities. The 0% of Yellow typically adds to the brightness and warmth, and the 55% 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 #1f4f72?

In the HSL (Hue, Saturation, Lightness) color model, the color represented by the hexadecimal code #1f4f72 has an HSL value of 205° (degrees) for Hue, 57% for Saturation, and 28% for Lightness. In this HSL representation, the Hue at 205° indicates the basic color tone, which is a shade of red in this case. The Saturation value of 57% describes the intensity or purity of this color, with a higher percentage indicating a more vivid and pure color. The Lightness value of 28% 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?
The Comprehensive Guide to Choosing the Best Office Paint Colors

The choice of paint colors in an office is not merely a matter of aesthetics; it’s a strategic decision that can influence employee well-being, productivity, and the overall ambiance of the workspace. This comprehensive guide delves into the ps...

The Impact of Color on Student Attention

Color can be an underestimated and profound force in our daily lives, having the potential to alter mood, behavior, and cognitive functions in surprising ways. Students, in particular, rely on their learning environments for optimal academic performa...

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

What Are E-Commerce Kpis

E-commerce KPIs are key performance indicators that businesses use to measure the success of their online sales efforts. E-commerce businesses need to track key performance indicators (KPIs) to measure their success. Many KPIs can be tracked, but som...

Best Color Matches For Your Home Office

An office space thrives on high energy and positivity. As such, it must be calming, welcoming, and inspiring. Studies have also shown that colors greatly impact human emotions. Hence, painting your home office walls with the right color scheme is ess...