#402f8b Color Information

In a RGB color space, hex #402f8b is composed of 25.1% red, 18.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 66.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.1 degrees, a saturation of 49.5% and a lightness of 36.5%. #402f8b color hex could be obtained by blending #805eff with #000017. Closest websafe color is: #333399.

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

#402f8b color description : Dark moderate blue.

#402f8b Color Conversion

The hexadecimal color #402f8b has RGB values of R:64, G:47, B:139 and CMYK values of C:0.54, M:0.66, Y:0, K:0.45. Its decimal value is 4206475.

Hex triplet 402f8b #402f8b
RGB Decimal 64, 47, 139 rgb(64,47,139)
RGB Percent 25.1, 18.4, 54.5 rgb(25.1%,18.4%,54.5%)
CMYK 54, 66, 0, 45
HSL 251.1°, 49.5, 36.5 hsl(251.1,49.5%,36.5%)
HSV (or HSB) 251.1°, 66.2, 54.5
Web Safe 333399 #333399
CIE-LAB 26.697, 33.15, -48.814
XYZ 7.79, 4.987, 24.977
xyY 0.206, 0.132, 4.987
CIE-LCH 26.697, 59.006, 304.18
CIE-LUV 26.697, -0.008, -63.657
Hunter-Lab 22.331, 23.189, -50.682
Binary 01000000, 00101111, 10001011

Color Schemes with #402f8b

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

Alternatives to #402f8b

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

Similar Colors

#402f8b Preview

Text with hexadecimal color #402f8b

This text has a font color of #402f8b.

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

This paragraph has a background color of #402f8b.

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

This element has a border color of #402f8b.

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

Shades and Tints of #402f8b

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

Shade Color Variation
Tint Color Variation

Tones of #402f8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f8b 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #3f3c4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00468a Protanopia 1% of men
  • #004a79 Deuteranopia 1% of men
  • #2f4d53 Tritanopia 0.001% of the population
Trichromacy
  • #173e8a Protanomaly 1% of men, 0.01% of women
  • #174080 Deuteranomaly 6% of men, 0.4% of women
  • #354267 Tritanomaly 0.01% of the population