#4042ab Color Information

In a RGB color space, hex #4042ab is composed of 25.1% red, 25.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 61.4% magenta, 0% yellow and 32.9% black. It has a hue angle of 238.9 degrees, a saturation of 45.5% and a lightness of 46.1%. #4042ab color hex could be obtained by blending #8084ff with #000057. Closest websafe color is: #333399.

    • R 25
    • G 26
    • B 67
    RGB color chart
    • C 63
    • M 61
    • Y 0
    • K 33
    CMYK color chart

#4042ab color description : Dark moderate blue.

#4042ab Color Conversion

The hexadecimal color #4042ab has RGB values of R:64, G:66, B:171 and CMYK values of C:0.63, M:0.61, Y:0, K:0.33. Its decimal value is 4211371.

Hex triplet 4042ab #4042ab
RGB Decimal 64, 66, 171 rgb(64,66,171)
RGB Percent 25.1, 25.9, 67.1 rgb(25.1%,25.9%,67.1%)
CMYK 63, 61, 0, 33
HSL 238.9°, 45.5, 46.1 hsl(238.9,45.5%,46.1%)
HSV (or HSB) 238.9°, 62.6, 67.1
Web Safe 333399 #333399
CIE-LAB 33.829, 31.887, -56.674
XYZ 11.412, 7.926, 39.454
xyY 0.194, 0.135, 7.926
CIE-LCH 33.829, 65.029, 299.364
CIE-LUV 33.829, -6.277, -79.803
Hunter-Lab 28.153, 23.085, -63.382
Binary 01000000, 01000010, 10101011

Color Schemes with #4042ab

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

Alternatives to #4042ab

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

Similar Colors

#4042ab Preview

Text with hexadecimal color #4042ab

This text has a font color of #4042ab.

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

This paragraph has a background color of #4042ab.

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

This element has a border color of #4042ab.

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

Shades and Tints of #4042ab

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, #05050e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4042ab

A tone is produced by adding gray to any pure hue. In this case, #6d6e7e is the less saturated color, while #0105ea is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4042ab 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
  • #4d4d4d Achromatopsia 0.005% of the population
  • #4a4b60 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0055a8 Protanopia 1% of men
  • #005a93 Deuteranopia 1% of men
  • #086168 Tritanopia 0.001% of the population
Trichromacy
  • #174ea9 Protanomaly 1% of men, 0.01% of women
  • #17519c Deuteranomaly 6% of men, 0.4% of women
  • #1c5580 Tritanomaly 0.01% of the population