#4042c7 Color Information

In a RGB color space, hex #4042c7 is composed of 25.1% red, 25.9% green and 78% blue. Whereas in a CMYK color space, it is composed of 67.8% cyan, 66.8% magenta, 0% yellow and 22% black. It has a hue angle of 239.1 degrees, a saturation of 54.7% and a lightness of 51.6%. #4042c7 color hex could be obtained by blending #8084ff with #00008f. Closest websafe color is: #3333cc.

    • R 25
    • G 26
    • B 78
    RGB color chart
    • C 68
    • M 67
    • Y 0
    • K 22
    CMYK color chart

#4042c7 color description : Moderate blue.

#4042c7 Color Conversion

The hexadecimal color #4042c7 has RGB values of R:64, G:66, B:199 and CMYK values of C:0.68, M:0.67, Y:0, K:0.22. Its decimal value is 4211399.

Hex triplet 4042c7 #4042c7
RGB Decimal 64, 66, 199 rgb(64,66,199)
RGB Percent 25.1, 25.9, 78 rgb(25.1%,25.9%,78%)
CMYK 68, 67, 0, 22
HSL 239.1°, 54.7, 51.6 hsl(239.1,54.7%,51.6%)
HSV (or HSB) 239.1°, 67.8, 78
Web Safe 3333cc #3333cc
CIE-LAB 36.194, 41.388, -69.322
XYZ 14.369, 9.109, 55.031
xyY 0.183, 0.116, 9.109
CIE-LCH 36.194, 80.737, 300.839
CIE-LUV 36.194, -7.531, -98.328
Hunter-Lab 30.181, 32.166, -86.978
Binary 01000000, 01000010, 11000111

Color Schemes with #4042c7

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #4042c7

Below, you can see some colors close to #4042c7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#4042c7 Preview

Text with hexadecimal color #4042c7

This text has a font color of #4042c7.

<span style="color:#4042c7;">Text here</span>
#4042c7 background color

This paragraph has a background color of #4042c7.

<p style="background-color:#4042c7;">Content here</p>
#4042c7 border color

This element has a border color of #4042c7.

<div style="border:1px solid #4042c7;">Content here</div>
CSS codes
.text {color:#4042c7;}
.background {background-color:#4042c7;}
.border {border:1px solid #4042c7;}

Shades and Tints of #4042c7

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #020206 is the darkest color, while #f6f6fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4042c7

A tone is produced by adding gray to any pure hue. In this case, #838385 is the less saturated color, while #1014f7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4042c7 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #515151 Achromatopsia 0.005% of the population
  • #4e4e69 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #00609a Deuteranopia 1% of men
  • #00676d Tritanopia 0.001% of the population
Trichromacy
  • #1752b9 Protanomaly 1% of men, 0.01% of women
  • #1755aa Deuteranomaly 6% of men, 0.4% of women
  • #17598e Tritanomaly 0.01% of the population