#021231 - Midnight Hex Color Code

#021231 (Midnight) - RGB 2, 18, 49 Color Information

#021231 Conversion Table

HEX Triplet 02, 12, 31
RGB Decimal 2, 18, 49
RGB Octal 2, 22, 61
RGB Percent 0.8%, 7.1%, 19.2%
RGB Binary 10, 10010, 110001
CMY 0.992, 0.929, 0.808
CMYK 96, 63, 0, 81

Percentages of Color #021231

R 0.8%
G 7.1%
B 19.2%
RGB Percentages of Color #021231
C 96%
M 63%
Y 0%
K 81%
CMYK Percentages of Color #021231

Color spaces of #021231 Midnight - RGB(2, 18, 49)

HSV (or HSB) 220°, 96°, 19°
HSL 220°, 92°, 10°
Web Safe #000033
XYZ 0.796, 0.667, 2.993
CIE-Lab 6.027, 6.616, -22.378
xyY 0.179, 0.150, 0.667
Decimal 135729

#021231 Color Accessibility Scores (Midnight Contrast Checker)

#021231

On dark background [POOR]

#021231

On light background [GOOD]

#021231

As background color [GOOD]

Midnight ↔ #021231 Color Blindness Simulator

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

#021231 Color Combinations - Color Schemes with 021231

#021231 Analogous Colors

#021231 Triadic Colors

#021231 Split Complementary Colors

#021231 Complementary Colors

Shades and Tints of #021231 Color Variations

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

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

Alternatives colours to Midnight (#021231)

#021231 Color Codes for CSS3/HTML5 and Icon Previews

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

#021231 in Programming

HTML5, CSS3 #021231
Java new Color(2, 18, 49);
.NET Color.FromArgb(255, 2, 18, 49);
Swift UIColor(red:2, green:18, blue:49, alpha:1.00000)
Objective-C [UIColor colorWithRed:2 green:18 blue:49 alpha:1.00000];
OpenGL glColor3f(2f, 18f, 49f);
Python Color('#021231')

#021231 - RGB(2, 18, 49) - Midnight Color FAQ

What is the color code for Midnight?

Hex color code for Midnight color is #021231. RGB color code for midnight color is rgb(2, 18, 49).

What is the RGB value of #021231?

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

What is the RGB percentage of #021231?

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

What does RGB 2,18,49 mean?

The RGB color 2, 18, 49 represents a dull and muted shade of Blue. The websafe version of this color is hex 000033. This color might be commonly referred to as a shade similar to Midnight.

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

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

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

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

Exploring the Benefits of VPN for Designers and Creatives

When breaches of confidentiality and privacy became the norm on the Internet, all and sundry began to discuss VPNs. Today, we delve into the benefits of using VPN for designers. How can web designers leverage VPNs to enhance their productivity and sa...

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