#04218c Hex Color

rgb(4, 33, 140)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 04 21 8c - #04218c
RGB 4 33 140 - rgb(4,33,140)
HSL 227 94% 28% - hsl(227,94%,28%)
HSV 227 97% 55% - hsv(227,97%,55%)
XYZ 5.3276 3.007 25.1106 - xyz(5.3276,3.007,25.1106)
CIE-LAB 20.07 35.87 -60.46 - lab(20.07,35.87,-60.46)
CMYK 0.97142857142857 0.76428571428571 0 0.45098039215686 cmyk(0.97142857142857,0.76428571428571,0,0.45098039215686)

Description

The RGB value of color #04218c is rgb(4, 33, 140).

In the hex color #04218c, The value of Red is 4, value of Green is 33, and value of Blue is 140. The primary color is Blue. Similarly, The HSL values for #04218c consists of 227° Hue, 94% Saturation, and 28% Lightness.

In the CMYK color model, the color #04218c can be represented as Cyan=0.97142857142857%, Magenta=0.76428571428571%, Yellow=0%, and Black=0.45098039215686%.

Shades of #04218c

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 #04218c

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

Color Previews of #04218c

Preview of #04218c on White Background

This is a sample text.

The contrast ratio of #04218c with white color is 13.11

#04218c color will look good on a white background.

Preview of #04218c on black background

This is a sample text.

The contrast ratio of #04218c with black color is 1.6

Color Schemes of #04218c

Triadic Colors of #04218c

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 #04218c

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 #04218c

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 #04218c

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: #04218c; }

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

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

This is a sample text used for the color #04218c. 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 2.26%

Green 18.64%

Blue 79.1%

CMYK Percentage

Cyan 44.42

Magenta 34.95%

Yellow 0%

Black 20.62%

Comments on this color

Please login or signup to post a comment.

No comments yet.