#402caf Color Information

In a RGB color space, hex #402caf is composed of 25.1% red, 17.3% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 63.4% cyan, 74.9% magenta, 0% yellow and 31.4% black. It has a hue angle of 249.2 degrees, a saturation of 59.8% and a lightness of 42.9%. #402caf color hex could be obtained by blending #8058ff with #00005f. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 69
    RGB color chart
    • C 63
    • M 75
    • Y 0
    • K 31
    CMYK color chart

#402caf color description : Dark blue.

#402caf Color Conversion

The hexadecimal color #402caf has RGB values of R:64, G:44, B:175 and CMYK values of C:0.63, M:0.75, Y:0, K:0.31. Its decimal value is 4205743.

Hex triplet 402caf #402caf
RGB Decimal 64, 44, 175 rgb(64,44,175)
RGB Percent 25.1, 17.3, 68.6 rgb(25.1%,17.3%,68.6%)
CMYK 63, 75, 0, 31
HSL 249.2°, 59.8, 42.9 hsl(249.2,59.8%,42.9%)
HSV (or HSB) 249.2°, 74.9, 68.6
Web Safe 333399 #333399
CIE-LAB 29.377, 46.221, -66.356
XYZ 10.751, 5.986, 41.144
xyY 0.186, 0.103, 5.986
CIE-LCH 29.377, 80.867, 304.86
CIE-LUV 29.377, -2.226, -86.997
Hunter-Lab 24.466, 35.623, -82.578
Binary 01000000, 00101100, 10101111

Color Schemes with #402caf

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

Alternatives to #402caf

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

Similar Colors

#402caf Preview

Text with hexadecimal color #402caf

This text has a font color of #402caf.

<span style="color:#402caf;">Text here</span>
#402caf background color

This paragraph has a background color of #402caf.

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

This element has a border color of #402caf.

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

Shades and Tints of #402caf

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, #010103 is the darkest color, while #f3f2fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402caf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402caf 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
  • #414141 Achromatopsia 0.005% of the population
  • #413d57 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004c95 Protanopia 1% of men
  • #005181 Deuteranopia 1% of men
  • #00565c Tritanopia 0.001% of the population
Trichromacy
  • #17409e Protanomaly 1% of men, 0.01% of women
  • #174392 Deuteranomaly 6% of men, 0.4% of women
  • #17477a Tritanomaly 0.01% of the population