#40398d Color Information

In a RGB color space, hex #40398d is composed of 25.1% red, 22.4% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 59.6% magenta, 0% yellow and 44.7% black. It has a hue angle of 245 degrees, a saturation of 42.4% and a lightness of 38.8%. #40398d color hex could be obtained by blending #8072ff with #00001b. Closest websafe color is: #333399.

    • R 25
    • G 22
    • B 55
    RGB color chart
    • C 55
    • M 60
    • Y 0
    • K 45
    CMYK color chart

#40398d color description : Dark moderate blue.

#40398d Color Conversion

The hexadecimal color #40398d has RGB values of R:64, G:57, B:141 and CMYK values of C:0.55, M:0.6, Y:0, K:0.45. Its decimal value is 4209037.

Hex triplet 40398d #40398d
RGB Decimal 64, 57, 141 rgb(64,57,141)
RGB Percent 25.1, 22.4, 55.3 rgb(25.1%,22.4%,55.3%)
CMYK 55, 60, 0, 45
HSL 245°, 42.4, 38.8 hsl(245,42.4%,38.8%)
HSV (or HSB) 245°, 59.6, 55.3
Web Safe 333399 #333399
CIE-LAB 29.258, 27.498, -45.893
XYZ 8.384, 5.939, 25.902
xyY 0.208, 0.148, 5.939
CIE-LCH 29.258, 53.5, 300.929
CIE-LUV 29.258, -2.432, -62.077
Hunter-Lab 24.37, 18.763, -45.959
Binary 01000000, 00111001, 10001101

Color Schemes with #40398d

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

Alternatives to #40398d

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

Similar Colors

#40398d Preview

Text with hexadecimal color #40398d

This text has a font color of #40398d.

<span style="color:#40398d;">Text here</span>
#40398d background color

This paragraph has a background color of #40398d.

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

This element has a border color of #40398d.

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

Shades and Tints of #40398d

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

Shade Color Variation
Tint Color Variation

Tones of #40398d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40398d 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
  • #454545 Achromatopsia 0.005% of the population
  • #444353 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004c95 Protanopia 1% of men
  • #005083 Deuteranopia 1% of men
  • #305359 Tritanopia 0.001% of the population
Trichromacy
  • #174592 Protanomaly 1% of men, 0.01% of women
  • #174787 Deuteranomaly 6% of men, 0.4% of women
  • #364a6c Tritanomaly 0.01% of the population