#042ad6 Hex Color

rgb(4, 42, 214)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 04 2a d6 - #042ad6
RGB 4 42 214 - rgb(4,42,214)
HSL 229 96% 43% - hsl(229,96%,43%)
HSV 229 98% 84% - hsv(229,98%,84%)
XYZ 13.0156 6.5368 64.1941 - xyz(13.0156,6.5368,64.1941)
CIE-LAB 30.73 56.3 -87.14 - lab(30.73,56.3,-87.14)
CMYK 0.98130841121495 0.80373831775701 0 0.16078431372549 cmyk(0.98130841121495,0.80373831775701,0,0.16078431372549)

Description

The RGB value of color #042ad6 is rgb(4, 42, 214).

In the hex color #042ad6, The value of Red is 4, value of Green is 42, and value of Blue is 214. The primary color is Blue. Similarly, The HSL values for #042ad6 consists of 229° Hue, 96% Saturation, and 43% Lightness.

In the CMYK color model, the color #042ad6 can be represented as Cyan=0.98130841121495%, Magenta=0.80373831775701%, Yellow=0%, and Black=0.16078431372549%.

Shades of #042ad6

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 #042ad6

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

Color Previews of #042ad6

Preview of #042ad6 on White Background

This is a sample text.

The contrast ratio of #042ad6 with white color is 9.1

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

Preview of #042ad6 on black background

This is a sample text.

The contrast ratio of #042ad6 with black color is 2.31

Color Schemes of #042ad6

Triadic Colors of #042ad6

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 #042ad6

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 #042ad6

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 #042ad6

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: #042ad6; }

This is a sample text used for the color #042ad6. 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: #042ad6; }

This is a sample text used for the color #042ad6. 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 #042ad6; }

This is a sample text used for the color #042ad6. 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.54%

Green 16.15%

Blue 82.31%

CMYK Percentage

Cyan 50.43

Magenta 41.31%

Yellow 0%

Black 8.26%

Comments on this color

Please login or signup to post a comment.

No comments yet.