#402f7f Color Information

In a RGB color space, hex #402f7f is composed of 25.1% red, 18.4% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 63% magenta, 0% yellow and 50.2% black. It has a hue angle of 252.8 degrees, a saturation of 46% and a lightness of 34.1%. #402f7f color hex could be obtained by blending #805efe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 50
    RGB color chart
    • C 50
    • M 63
    • Y 0
    • K 50
    CMYK color chart

#402f7f color description : Dark moderate blue.

#402f7f Color Conversion

The hexadecimal color #402f7f has RGB values of R:64, G:47, B:127 and CMYK values of C:0.5, M:0.63, Y:0, K:0.5. Its decimal value is 4206463.

Hex triplet 402f7f #402f7f
RGB Decimal 64, 47, 127 rgb(64,47,127)
RGB Percent 25.1, 18.4, 49.8 rgb(25.1%,18.4%,49.8%)
CMYK 50, 63, 0, 50
HSL 252.8°, 46, 34.1 hsl(252.8,46%,34.1%)
HSV (or HSB) 252.8°, 63, 49.8
Web Safe 333366 #333366
CIE-LAB 25.729, 29.327, -42.886
XYZ 6.961, 4.655, 20.609
xyY 0.216, 0.144, 4.655
CIE-LCH 25.729, 51.954, 304.365
CIE-LUV 25.729, 1.013, -55.552
Hunter-Lab 21.576, 19.831, -41.531
Binary 01000000, 00101111, 01111111

Color Schemes with #402f7f

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

Alternatives to #402f7f

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

Similar Colors

#402f7f Preview

Text with hexadecimal color #402f7f

This text has a font color of #402f7f.

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

This paragraph has a background color of #402f7f.

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

This element has a border color of #402f7f.

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

Shades and Tints of #402f7f

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, #06050c is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f7f

A tone is produced by adding gray to any pure hue. In this case, #53505e is the less saturated color, while #2500ae is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f7f 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e3a4a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004486 Protanopia 1% of men
  • #004877 Deuteranopia 1% of men
  • #364a4f Tritanopia 0.001% of the population
Trichromacy
  • #173c84 Protanomaly 1% of men, 0.01% of women
  • #173f7a Deuteranomaly 6% of men, 0.4% of women
  • #394060 Tritanomaly 0.01% of the population