#402f7b Color Information

In a RGB color space, hex #402f7b is composed of 25.1% red, 18.4% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 61.8% magenta, 0% yellow and 51.8% black. It has a hue angle of 253.4 degrees, a saturation of 44.7% and a lightness of 33.3%. #402f7b color hex could be obtained by blending #805ef6 with #000000. Closest websafe color is: #333366.

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

#402f7b color description : Dark moderate blue.

#402f7b Color Conversion

The hexadecimal color #402f7b has RGB values of R:64, G:47, B:123 and CMYK values of C:0.48, M:0.62, Y:0, K:0.52. Its decimal value is 4206459.

Hex triplet 402f7b #402f7b
RGB Decimal 64, 47, 123 rgb(64,47,123)
RGB Percent 25.1, 18.4, 48.2 rgb(25.1%,18.4%,48.2%)
CMYK 48, 62, 0, 52
HSL 253.4°, 44.7, 33.3 hsl(253.4,44.7%,33.3%)
HSV (or HSB) 253.4°, 61.8, 48.2
Web Safe 333366 #333366
CIE-LAB 25.421, 28.061, -40.86
XYZ 6.705, 4.553, 19.263
xyY 0.22, 0.149, 4.553
CIE-LCH 25.421, 49.568, 304.479
CIE-LUV 25.421, 1.37, -52.795
Hunter-Lab 21.338, 18.753, -38.59
Binary 01000000, 00101111, 01111011

Color Schemes with #402f7b

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

Alternatives to #402f7b

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

Similar Colors

#402f7b Preview

Text with hexadecimal color #402f7b

This text has a font color of #402f7b.

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

This paragraph has a background color of #402f7b.

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

This element has a border color of #402f7b.

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

Shades and Tints of #402f7b

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

Shade Color Variation
Tint Color Variation

Tones of #402f7b

A tone is produced by adding gray to any pure hue. In this case, #52505a is the less saturated color, while #2701a9 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f7b 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
  • #3e3a49 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004776 Deuteranopia 1% of men
  • #38494e Tritanopia 0.001% of the population
Trichromacy
  • #173c81 Protanomaly 1% of men, 0.01% of women
  • #173e78 Deuteranomaly 6% of men, 0.4% of women
  • #3b3f5e Tritanomaly 0.01% of the population