#402e54 Hex Color

rgb(64, 46, 84)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 40 2e 54 - #402e54
RGB 64 46 84 - rgb(64,46,84)
HSL 268 29% 25% - hsl(268,29%,25%)
HSV 268 45% 33% - hsv(268,45%,33%)
XYZ 4.6916 3.6841 8.8513 - xyz(4.6916,3.6841,8.8513)
CIE-LAB 22.6 17.04 -20.09 - lab(22.6,17.04,-20.09)
CMYK 0.23809523809524 0.45238095238095 0 0.67058823529412 cmyk(0.23809523809524,0.45238095238095,0,0.67058823529412)

Description

The RGB value of color #402e54 is rgb(64, 46, 84).

In the hex color #402e54, The value of Red is 64, value of Green is 46, and value of Blue is 84. The primary color is Blue. Similarly, The HSL values for #402e54 consists of 268° Hue, 29% Saturation, and 25% Lightness.

In the CMYK color model, the color #402e54 can be represented as Cyan=0.23809523809524%, Magenta=0.45238095238095%, Yellow=0%, and Black=0.67058823529412%.

Shades of #402e54

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 #402e54

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

Color Previews of #402e54

Preview of #402e54 on White Background

This is a sample text.

The contrast ratio of #402e54 with white color is 12.09

#402e54 color will look good on a white background.

Preview of #402e54 on black background

This is a sample text.

The contrast ratio of #402e54 with black color is 1.74

Color Schemes of #402e54

Triadic Colors of #402e54

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 #402e54

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 #402e54

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 #402e54

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: #402e54; }

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

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

This is a sample text used for the color #402e54. 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 32.99%

Green 23.71%

Blue 43.3%

CMYK Percentage

Cyan 17.49

Magenta 33.24%

Yellow 0%

Black 49.27%

Comments on this color

Please login or signup to post a comment.

No comments yet.