#40398c Color Information

In a RGB color space, hex #40398c is composed of 25.1% red, 22.4% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 59.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 245.1 degrees, a saturation of 42.1% and a lightness of 38.6%. #40398c color hex could be obtained by blending #8072ff with #000019. Closest websafe color is: #333399.

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

#40398c color description : Dark moderate blue.

#40398c Color Conversion

The hexadecimal color #40398c has RGB values of R:64, G:57, B:140 and CMYK values of C:0.54, M:0.59, Y:0, K:0.45. Its decimal value is 4209036.

Hex triplet 40398c #40398c
RGB Decimal 64, 57, 140 rgb(64,57,140)
RGB Percent 25.1, 22.4, 54.9 rgb(25.1%,22.4%,54.9%)
CMYK 54, 59, 0, 45
HSL 245.1°, 42.1, 38.6 hsl(245.1,42.1%,38.6%)
HSV (or HSB) 245.1°, 59.3, 54.9
Web Safe 333399 #333399
CIE-LAB 29.183, 27.165, -45.398
XYZ 8.31, 5.909, 25.512
xyY 0.209, 0.149, 5.909
CIE-LCH 29.183, 52.905, 300.896
CIE-LUV 29.183, -2.366, -61.374
Hunter-Lab 24.309, 18.479, -45.207
Binary 01000000, 00111001, 10001100

Color Schemes with #40398c

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

Alternatives to #40398c

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

Similar Colors

#40398c Preview

Text with hexadecimal color #40398c

This text has a font color of #40398c.

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

This paragraph has a background color of #40398c.

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

This element has a border color of #40398c.

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

Shades and Tints of #40398c

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

Shade Color Variation
Tint Color Variation

Tones of #40398c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40398c 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
  • #315359 Tritanopia 0.001% of the population
Trichromacy
  • #174591 Protanomaly 1% of men, 0.01% of women
  • #174786 Deuteranomaly 6% of men, 0.4% of women
  • #36496b Tritanomaly 0.01% of the population