#402b8d Color Information

In a RGB color space, hex #402b8d is composed of 25.1% red, 16.9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 69.5% magenta, 0% yellow and 44.7% black. It has a hue angle of 252.9 degrees, a saturation of 53.3% and a lightness of 36.1%. #402b8d color hex could be obtained by blending #8056ff with #00001b. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 55
    RGB color chart
    • C 55
    • M 70
    • Y 0
    • K 45
    CMYK color chart

#402b8d color description : Dark moderate blue.

#402b8d Color Conversion

The hexadecimal color #402b8d has RGB values of R:64, G:43, B:141 and CMYK values of C:0.55, M:0.7, Y:0, K:0.45. Its decimal value is 4205453.

Hex triplet 402b8d #402b8d
RGB Decimal 64, 43, 141 rgb(64,43,141)
RGB Percent 25.1, 16.9, 55.3 rgb(25.1%,16.9%,55.3%)
CMYK 55, 70, 0, 45
HSL 252.9°, 53.3, 36.1 hsl(252.9,53.3%,36.1%)
HSV (or HSB) 252.9°, 69.5, 55.3
Web Safe 333399 #333399
CIE-LAB 25.983, 36.183, -51.221
XYZ 7.785, 4.741, 25.703
xyY 0.204, 0.124, 4.741
CIE-LCH 25.983, 62.712, 305.237
CIE-LUV 25.983, 0.599, -65.813
Hunter-Lab 21.773, 25.721, -54.75
Binary 01000000, 00101011, 10001101

Color Schemes with #402b8d

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

Alternatives to #402b8d

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

Similar Colors

#402b8d Preview

Text with hexadecimal color #402b8d

This text has a font color of #402b8d.

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

This paragraph has a background color of #402b8d.

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

This element has a border color of #402b8d.

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

Shades and Tints of #402b8d

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

Shade Color Variation
Tint Color Variation

Tones of #402b8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b8d 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d394c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004976 Deuteranopia 1% of men
  • #2d4c51 Tritanopia 0.001% of the population
Trichromacy
  • #173b89 Protanomaly 1% of men, 0.01% of women
  • #173e7e Deuteranomaly 6% of men, 0.4% of women
  • #344067 Tritanomaly 0.01% of the population