#402b7f Color Information

In a RGB color space, hex #402b7f is composed of 25.1% red, 16.9% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 66.1% magenta, 0% yellow and 50.2% black. It has a hue angle of 255 degrees, a saturation of 49.4% and a lightness of 33.3%. #402b7f color hex could be obtained by blending #8056fe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 17
    • B 50
    RGB color chart
    • C 50
    • M 66
    • Y 0
    • K 50
    CMYK color chart

#402b7f color description : Dark moderate blue.

#402b7f Color Conversion

The hexadecimal color #402b7f has RGB values of R:64, G:43, B:127 and CMYK values of C:0.5, M:0.66, Y:0, K:0.5. Its decimal value is 4205439.

Hex triplet 402b7f #402b7f
RGB Decimal 64, 43, 127 rgb(64,43,127)
RGB Percent 25.1, 16.9, 49.8 rgb(25.1%,16.9%,49.8%)
CMYK 50, 66, 0, 50
HSL 255°, 49.4, 33.3 hsl(255,49.4%,33.3%)
HSV (or HSB) 255°, 66.1, 49.8
Web Safe 333366 #333366
CIE-LAB 24.796, 31.807, -44.4
XYZ 6.808, 4.35, 20.558
xyY 0.215, 0.137, 4.35
CIE-LCH 24.796, 54.617, 305.617
CIE-LUV 24.796, 1.87, -56.602
Hunter-Lab 20.856, 21.77, -43.843
Binary 01000000, 00101011, 01111111

Color Schemes with #402b7f

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

Alternatives to #402b7f

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

Similar Colors

#402b7f Preview

Text with hexadecimal color #402b7f

This text has a font color of #402b7f.

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

This paragraph has a background color of #402b7f.

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

This element has a border color of #402b7f.

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

Shades and Tints of #402b7f

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

Shade Color Variation
Tint Color Variation

Tones of #402b7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b7f 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c3849 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #004673 Deuteranopia 1% of men
  • #35474d Tritanopia 0.001% of the population
Trichromacy
  • #173a81 Protanomaly 1% of men, 0.01% of women
  • #173c77 Deuteranomaly 6% of men, 0.4% of women
  • #393d5f Tritanomaly 0.01% of the population