#04041f Hex Color

rgb(4, 4, 31)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 04 04 1f - #04041f
RGB 4 4 31 - rgb(4,4,31)
HSL 240 77% 7% - hsl(240,77%,7%)
HSV 240 87% 12% - hsv(240,87%,12%)
XYZ 0.3408 0.2116 1.3192 - xyz(0.3408,0.2116,1.3192)
CIE-LAB 1.91 5.72 -15.05 - lab(1.91,5.72,-15.05)
CMYK 0.87096774193548 0.87096774193548 0 0.87843137254902 cmyk(0.87096774193548,0.87096774193548,0,0.87843137254902)

Description

The RGB value of color #04041f is rgb(4, 4, 31).

In the hex color #04041f, The value of Red is 4, value of Green is 4, and value of Blue is 31. The primary color is Blue. Similarly, The HSL values for #04041f consists of 240° Hue, 77% Saturation, and 7% Lightness.

In the CMYK color model, the color #04041f can be represented as Cyan=0.87096774193548%, Magenta=0.87096774193548%, Yellow=0%, and Black=0.87843137254902%.

Shades of #04041f

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 #04041f

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

Color Previews of #04041f

Preview of #04041f on White Background

This is a sample text.

The contrast ratio of #04041f with white color is 20.15

#04041f color will look good on a white background.

Preview of #04041f on black background

This is a sample text.

The contrast ratio of #04041f with black color is 1.04

Color Schemes of #04041f

Triadic Colors of #04041f

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 #04041f

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 #04041f

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 #04041f

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: #04041f; }

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

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

This is a sample text used for the color #04041f. 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 10.26%

Green 10.26%

Blue 79.49%

CMYK Percentage

Cyan 33.24

Magenta 33.24%

Yellow 0%

Black 33.52%

Comments on this color

Please login or signup to post a comment.

No comments yet.