#1f508d - Midnight Blue Hex Color Code

#1F508D (Midnight Blue) - RGB 31, 80, 141 Color Information

#1f508d Conversion Table

HEX Triplet 1F, 50, 8D
RGB Decimal 31, 80, 141
RGB Octal 37, 120, 215
RGB Percent 12.2%, 31.4%, 55.3%
RGB Binary 11111, 1010000, 10001101
CMY 0.878, 0.686, 0.447
CMYK 78, 43, 0, 45

Percentages of Color #1F508D

R 12.2%
G 31.4%
B 55.3%
RGB Percentages of Color #1f508d
C 78%
M 43%
Y 0%
K 45%
CMYK Percentages of Color #1f508d

Color spaces of #1F508D Midnight Blue - RGB(31, 80, 141)

HSV (or HSB) 213°, 78°, 55°
HSL 213°, 64°, 34°
Web Safe #336699
XYZ 8.241, 7.952, 26.300
CIE-Lab 33.882, 6.296, -38.551
xyY 0.194, 0.187, 7.952
Decimal 2052237

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

#1f508d

On dark background [POOR]

#1f508d

On light background [GOOD]

#1f508d

As background color [GOOD]

Midnight Blue ↔ #1f508d Color Blindness Simulator

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

#1F508D Color Combinations - Color Schemes with 1f508d

#1f508d Analogous Colors

#1f508d Triadic Colors

#1f508d Split Complementary Colors

#1f508d Complementary Colors

Shades and Tints of #1f508d Color Variations

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

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

Alternatives colours to Midnight Blue (#1f508d)

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

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

#1F508D in Programming

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

#1f508d - RGB(31, 80, 141) - Midnight Blue Color FAQ

What is the color code for Midnight Blue?

Hex color code for Midnight Blue color is #1f508d. RGB color code for midnight blue color is rgb(31, 80, 141).

What is the RGB value of #1f508d?

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

What is the RGB percentage of #1f508d?

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

What does RGB 31,80,141 mean?

The RGB color 31, 80, 141 represents a dull and muted shade of Blue. The websafe version of this color is hex 336699. 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 #1f508d?

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

In the HSL (Hue, Saturation, Lightness) color model, the color represented by the hexadecimal code #1f508d has an HSL value of 213° (degrees) for Hue, 64% for Saturation, and 34% for Lightness. In this HSL representation, the Hue at 213° indicates the basic color tone, which is a shade of red in this case. The Saturation value of 64% describes the intensity or purity of this color, with a higher percentage indicating a more vivid and pure color. The Lightness value of 34% 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?
Incorporating Colors in Design: A Comprehensive Guide

Colors are potent communicative elements. They excite emotions, manipulate moods, and transmit unspoken messages. To heighten resonance in design, skillful integration of colors is essential. This guide is equipped with insights and hands-on tips on ...

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

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

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

Adjusting Mac Screen Brightness: Tips for Better Viewing Experience

Mac computers are your trusted ally through all your digital adventures. However, staring at their glowing screens for hours can take a toll. It can strain your eyes and disrupt your sleep cycle. It is critical to adjust the screen brightness of your...