#402f8a Color Information

In a RGB color space, hex #402f8a is composed of 25.1% red, 18.4% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 65.9% magenta, 0% yellow and 45.9% black. It has a hue angle of 251.2 degrees, a saturation of 49.2% and a lightness of 36.3%. #402f8a color hex could be obtained by blending #805eff with #000015. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 54
    RGB color chart
    • C 54
    • M 66
    • Y 0
    • K 46
    CMYK color chart

#402f8a color description : Dark moderate blue.

#402f8a Color Conversion

The hexadecimal color #402f8a has RGB values of R:64, G:47, B:138 and CMYK values of C:0.54, M:0.66, Y:0, K:0.46. Its decimal value is 4206474.

Hex triplet 402f8a #402f8a
RGB Decimal 64, 47, 138 rgb(64,47,138)
RGB Percent 25.1, 18.4, 54.1 rgb(25.1%,18.4%,54.1%)
CMYK 54, 66, 0, 46
HSL 251.2°, 49.2, 36.3 hsl(251.2,49.2%,36.3%)
HSV (or HSB) 251.2°, 65.9, 54.1
Web Safe 333399 #333399
CIE-LAB 26.614, 32.83, -48.328
XYZ 7.717, 4.958, 24.594
xyY 0.207, 0.133, 4.958
CIE-LCH 26.614, 58.425, 304.189
CIE-LUV 26.614, 0.074, -62.991
Hunter-Lab 22.266, 22.903, -49.902
Binary 01000000, 00101111, 10001010

Color Schemes with #402f8a

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

Alternatives to #402f8a

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

Similar Colors

#402f8a Preview

Text with hexadecimal color #402f8a

This text has a font color of #402f8a.

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

This paragraph has a background color of #402f8a.

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

This element has a border color of #402f8a.

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

Shades and Tints of #402f8a

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 #f8f7fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f8a

A tone is produced by adding gray to any pure hue. In this case, #5b5a5f is the less saturated color, while #2504b5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f8a 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3b4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00468a Protanopia 1% of men
  • #004a79 Deuteranopia 1% of men
  • #304d52 Tritanopia 0.001% of the population
Trichromacy
  • #173e8a Protanomaly 1% of men, 0.01% of women
  • #17407f Deuteranomaly 6% of men, 0.4% of women
  • #364266 Tritanomaly 0.01% of the population