#402f95 Color Information

In a RGB color space, hex #402f95 is composed of 25.1% red, 18.4% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 57% cyan, 68.5% magenta, 0% yellow and 41.6% black. It has a hue angle of 250 degrees, a saturation of 52% and a lightness of 38.4%. #402f95 color hex could be obtained by blending #805eff with #00002b. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 58
    RGB color chart
    • C 57
    • M 68
    • Y 0
    • K 42
    CMYK color chart

#402f95 color description : Dark moderate blue.

#402f95 Color Conversion

The hexadecimal color #402f95 has RGB values of R:64, G:47, B:149 and CMYK values of C:0.57, M:0.68, Y:0, K:0.42. Its decimal value is 4206485.

Hex triplet 402f95 #402f95
RGB Decimal 64, 47, 149 rgb(64,47,149)
RGB Percent 25.1, 18.4, 58.4 rgb(25.1%,18.4%,58.4%)
CMYK 57, 68, 0, 42
HSL 250°, 52, 38.4 hsl(250,52%,38.4%)
HSV (or HSB) 250°, 68.5, 58.4
Web Safe 333399 #333399
CIE-LAB 27.553, 36.346, -53.593
XYZ 8.555, 5.293, 29.003
xyY 0.2, 0.124, 5.293
CIE-LCH 27.553, 64.755, 304.145
CIE-LUV 27.553, -0.807, -70.229
Hunter-Lab 23.006, 26.115, -58.642
Binary 01000000, 00101111, 10010101

Color Schemes with #402f95

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

Alternatives to #402f95

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

Similar Colors

#402f95 Preview

Text with hexadecimal color #402f95

This text has a font color of #402f95.

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

This paragraph has a background color of #402f95.

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

This element has a border color of #402f95.

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

Shades and Tints of #402f95

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, #06050f is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f95

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f95 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
  • #404040 Achromatopsia 0.005% of the population
  • #403d51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488d Protanopia 1% of men
  • #004c7c Deuteranopia 1% of men
  • #275056 Tritanopia 0.001% of the population
Trichromacy
  • #173f90 Protanomaly 1% of men, 0.01% of women
  • #174185 Deuteranomaly 6% of men, 0.4% of women
  • #30446d Tritanomaly 0.01% of the population