#402f7d Color Information

In a RGB color space, hex #402f7d is composed of 25.1% red, 18.4% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 62.4% magenta, 0% yellow and 51% black. It has a hue angle of 253.1 degrees, a saturation of 45.3% and a lightness of 33.7%. #402f7d color hex could be obtained by blending #805efa with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 49
    RGB color chart
    • C 49
    • M 62
    • Y 0
    • K 51
    CMYK color chart

#402f7d color description : Dark moderate blue.

#402f7d Color Conversion

The hexadecimal color #402f7d has RGB values of R:64, G:47, B:125 and CMYK values of C:0.49, M:0.62, Y:0, K:0.51. Its decimal value is 4206461.

Hex triplet 402f7d #402f7d
RGB Decimal 64, 47, 125 rgb(64,47,125)
RGB Percent 25.1, 18.4, 49 rgb(25.1%,18.4%,49%)
CMYK 49, 62, 0, 51
HSL 253.1°, 45.3, 33.7 hsl(253.1,45.3%,33.7%)
HSV (or HSB) 253.1°, 62.4, 49
Web Safe 333366 #333366
CIE-LAB 25.574, 28.693, -41.876
XYZ 6.832, 4.604, 19.93
xyY 0.218, 0.147, 4.604
CIE-LCH 25.574, 50.763, 304.418
CIE-LUV 25.574, 1.19, -54.177
Hunter-Lab 21.456, 19.289, -40.053
Binary 01000000, 00101111, 01111101

Color Schemes with #402f7d

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

Alternatives to #402f7d

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

Similar Colors

#402f7d Preview

Text with hexadecimal color #402f7d

This text has a font color of #402f7d.

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

This paragraph has a background color of #402f7d.

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

This element has a border color of #402f7d.

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

Shades and Tints of #402f7d

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, #06040b is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f7d 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
  • #004876 Deuteranopia 1% of men
  • #37494e Tritanopia 0.001% of the population
Trichromacy
  • #173c82 Protanomaly 1% of men, 0.01% of women
  • #173e79 Deuteranomaly 6% of men, 0.4% of women
  • #3a3f5f Tritanomaly 0.01% of the population