#402b8f Color Information

In a RGB color space, hex #402b8f is composed of 25.1% red, 16.9% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 69.9% magenta, 0% yellow and 43.9% black. It has a hue angle of 252.6 degrees, a saturation of 53.8% and a lightness of 36.5%. #402b8f color hex could be obtained by blending #8056ff with #00001f. Closest websafe color is: #333399.

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

#402b8f color description : Dark moderate blue.

#402b8f Color Conversion

The hexadecimal color #402b8f has RGB values of R:64, G:43, B:143 and CMYK values of C:0.55, M:0.7, Y:0, K:0.44. Its decimal value is 4205455.

Hex triplet 402b8f #402b8f
RGB Decimal 64, 43, 143 rgb(64,43,143)
RGB Percent 25.1, 16.9, 56.1 rgb(25.1%,16.9%,56.1%)
CMYK 55, 70, 0, 44
HSL 252.6°, 53.8, 36.5 hsl(252.6,53.8%,36.5%)
HSV (or HSB) 252.6°, 69.9, 56.1
Web Safe 333399 #333399
CIE-LAB 26.159, 36.809, -52.172
XYZ 7.935, 4.801, 26.494
xyY 0.202, 0.122, 4.801
CIE-LCH 26.159, 63.85, 305.204
CIE-LUV 26.159, 0.427, -67.105
Hunter-Lab 21.911, 26.303, -56.355
Binary 01000000, 00101011, 10001111

Color Schemes with #402b8f

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

Alternatives to #402b8f

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

Similar Colors

#402b8f Preview

Text with hexadecimal color #402b8f

This text has a font color of #402b8f.

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

This paragraph has a background color of #402b8f.

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

This element has a border color of #402b8f.

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

Shades and Tints of #402b8f

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

Shade Color Variation
Tint Color Variation

Tones of #402b8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b8f 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
  • #3e394d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #2b4c52 Tritanopia 0.001% of the population
Trichromacy
  • #173c8a Protanomaly 1% of men, 0.01% of women
  • #173e7f Deuteranomaly 6% of men, 0.4% of women
  • #334068 Tritanomaly 0.01% of the population