#042ea4 Hex Color

rgb(4, 46, 164)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 04 2e a4 - #042ea4
RGB 4 46 164 - rgb(4,46,164)
HSL 224 95% 33% - hsl(224,95%,33%)
HSV 224 98% 64% - hsv(224,98%,64%)
XYZ 7.7279 4.6601 35.6141 - xyz(7.7279,4.6601,35.6141)
CIE-LAB 25.74 36.68 -65.83 - lab(25.74,36.68,-65.83)
CMYK 0.97560975609756 0.71951219512195 0 0.35686274509804 cmyk(0.97560975609756,0.71951219512195,0,0.35686274509804)

Description

The RGB value of color #042ea4 is rgb(4, 46, 164).

In the hex color #042ea4, The value of Red is 4, value of Green is 46, and value of Blue is 164. The primary color is Blue. Similarly, The HSL values for #042ea4 consists of 224° Hue, 95% Saturation, and 33% Lightness.

In the CMYK color model, the color #042ea4 can be represented as Cyan=0.97560975609756%, Magenta=0.71951219512195%, Yellow=0%, and Black=0.35686274509804%.

Shades of #042ea4

Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.

Tints of #042ea4

Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.

Color Previews of #042ea4

Preview of #042ea4 on White Background

This is a sample text.

The contrast ratio of #042ea4 with white color is 10.87

#042ea4 color will look good on a white background.

Preview of #042ea4 on black background

This is a sample text.

The contrast ratio of #042ea4 with black color is 1.93

Color Schemes of #042ea4

Triadic Colors of #042ea4

Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.

Analogous Colors of #042ea4

Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.

Complementary Color of #042ea4

Complementary colors are pairs of colors that are directly opposite each other on the color wheel, creating a high contrast and vibrant color scheme when used together.

Monochromatic Colors of #042ea4

Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.

Color Usage

You can set the css color of a text using:

.class{ color: #042ea4; }

This is a sample text used for the color #042ea4. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css background color of a box using:

.box{ background-color: #042ea4; }

This is a sample text used for the color #042ea4. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css border of a box using:

.box{ border:4px solid #042ea4; }

This is a sample text used for the color #042ea4. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

RGB Percentage

Red 1.87%

Green 21.5%

Blue 76.64%

CMYK Percentage

Cyan 47.54

Magenta 35.06%

Yellow 0%

Black 17.39%

Comments on this color

Please login or signup to post a comment.

No comments yet.