#1b4a7f - Midnight Blue Hex Color Code

#1B4A7F (Midnight Blue) - RGB 27, 74, 127 Color Information

#1b4a7f Conversion Table

HEX Triplet 1B, 4A, 7F
RGB Decimal 27, 74, 127
RGB Octal 33, 112, 177
RGB Percent 10.6%, 29%, 49.8%
RGB Binary 11011, 1001010, 1111111
CMY 0.894, 0.710, 0.502
CMYK 79, 42, 0, 50

Percentages of Color #1B4A7F

R 10.6%
G 29%
B 49.8%
RGB Percentages of Color #1b4a7f
C 79%
M 42%
Y 0%
K 50%
CMYK Percentages of Color #1b4a7f

Color spaces of #1B4A7F Midnight Blue - RGB(27, 74, 127)

HSV (or HSB) 212°, 79°, 50°
HSL 212°, 65°, 30°
Web Safe #333366
XYZ 6.732, 6.663, 21.010
CIE-Lab 31.027, 4.167, -34.491
xyY 0.196, 0.194, 6.663
Decimal 1788543

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


On dark background [POOR]


On light background [GOOD]


As background color [GOOD]

Midnight Blue ↔ #1b4a7f Color Blindness Simulator

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

#1B4A7F Color Combinations - Color Schemes with 1b4a7f

#1b4a7f Analogous Colors

#1b4a7f Triadic Colors

#1b4a7f Split Complementary Colors

#1b4a7f Complementary Colors

Shades and Tints of #1b4a7f Color Variations

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

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

Alternatives colours to Midnight Blue (#1b4a7f)

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

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

#1B4A7F in Programming

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

#1b4a7f - RGB(27, 74, 127) - Midnight Blue Color FAQ

What is the color code for Midnight Blue?

Hex color code for Midnight Blue color is #1b4a7f. RGB color code for midnight blue color is rgb(27, 74, 127).

What is the RGB value of #1b4a7f?

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

What is the RGB percentage of #1b4a7f?

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

What does RGB 27,74,127 mean?

The RGB color 27, 74, 127 represents a dull and muted shade of Blue. The websafe version of this color is hex 333366. 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 #1b4a7f?

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

In the HSL (Hue, Saturation, Lightness) color model, the color represented by the hexadecimal code #1b4a7f has an HSL value of 212° (degrees) for Hue, 65% for Saturation, and 30% for Lightness. In this HSL representation, the Hue at 212° indicates the basic color tone, which is a shade of red in this case. The Saturation value of 65% describes the intensity or purity of this color, with a higher percentage indicating a more vivid and pure color. The Lightness value of 30% 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...

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

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

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

How Color Theory Enhances Visual Design Impact

Color theory plays a crucial role in graphic design, influencing the way we perceive and interpret visual information. Understanding the principles of color theory is essential for designers to create visually appealing and effective designs that com...