#402f9e Color Information

In a RGB color space, hex #402f9e is composed of 25.1% red, 18.4% green and 62% blue. Whereas in a CMYK color space, it is composed of 59.5% cyan, 70.3% magenta, 0% yellow and 38% black. It has a hue angle of 249.2 degrees, a saturation of 54.1% and a lightness of 40.2%. #402f9e color hex could be obtained by blending #805eff with #00003d. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 62
    RGB color chart
    • C 59
    • M 70
    • Y 0
    • K 38
    CMYK color chart

#402f9e color description : Dark blue.

#402f9e Color Conversion

The hexadecimal color #402f9e has RGB values of R:64, G:47, B:158 and CMYK values of C:0.59, M:0.7, Y:0, K:0.38. Its decimal value is 4206494.

Hex triplet 402f9e #402f9e
RGB Decimal 64, 47, 158 rgb(64,47,158)
RGB Percent 25.1, 18.4, 62 rgb(25.1%,18.4%,62%)
CMYK 59, 70, 0, 38
HSL 249.2°, 54.1, 40.2 hsl(249.2,54.1%,40.2%)
HSV (or HSB) 249.2°, 70.3, 62
Web Safe 333399 #333399
CIE-LAB 28.357, 39.217, -57.777
XYZ 9.301, 5.591, 32.935
xyY 0.194, 0.117, 5.591
CIE-LCH 28.357, 69.83, 304.168
CIE-LUV 28.357, -1.489, -76.018
Hunter-Lab 23.646, 28.833, -66.029
Binary 01000000, 00101111, 10011110

Color Schemes with #402f9e

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

Alternatives to #402f9e

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

Similar Colors

#402f9e Preview

Text with hexadecimal color #402f9e

This text has a font color of #402f9e.

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

This paragraph has a background color of #402f9e.

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

This element has a border color of #402f9e.

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

Shades and Tints of #402f9e

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 #402f9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f9e 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
  • #414141 Achromatopsia 0.005% of the population
  • #413d54 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a91 Protanopia 1% of men
  • #004e7e Deuteranopia 1% of men
  • #1c5359 Tritanopia 0.001% of the population
Trichromacy
  • #174095 Protanomaly 1% of men, 0.01% of women
  • #17438a Deuteranomaly 6% of men, 0.4% of women
  • #294672 Tritanomaly 0.01% of the population