#40398a Color Information

In a RGB color space, hex #40398a is composed of 25.1% red, 22.4% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 58.7% magenta, 0% yellow and 45.9% black. It has a hue angle of 245.2 degrees, a saturation of 41.5% and a lightness of 38.2%. #40398a color hex could be obtained by blending #8072ff with #000015. Closest websafe color is: #333399.

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

#40398a color description : Dark moderate blue.

#40398a Color Conversion

The hexadecimal color #40398a has RGB values of R:64, G:57, B:138 and CMYK values of C:0.54, M:0.59, Y:0, K:0.46. Its decimal value is 4209034.

Hex triplet 40398a #40398a
RGB Decimal 64, 57, 138 rgb(64,57,138)
RGB Percent 25.1, 22.4, 54.1 rgb(25.1%,22.4%,54.1%)
CMYK 54, 59, 0, 46
HSL 245.2°, 41.5, 38.2 hsl(245.2,41.5%,38.2%)
HSV (or HSB) 245.2°, 58.7, 54.1
Web Safe 333399 #333399
CIE-LAB 29.033, 26.501, -44.403
XYZ 8.164, 5.851, 24.743
xyY 0.211, 0.151, 5.851
CIE-LCH 29.033, 51.71, 300.83
CIE-LUV 29.033, -2.235, -59.96
Hunter-Lab 24.189, 17.916, -43.715
Binary 01000000, 00111001, 10001010

Color Schemes with #40398a

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

Alternatives to #40398a

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

Similar Colors

#40398a Preview

Text with hexadecimal color #40398a

This text has a font color of #40398a.

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

This paragraph has a background color of #40398a.

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

This element has a border color of #40398a.

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

Shades and Tints of #40398a

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

Shade Color Variation
Tint Color Variation

Tones of #40398a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40398a 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
  • #444444 Achromatopsia 0.005% of the population
  • #434252 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b94 Protanopia 1% of men
  • #004f83 Deuteranopia 1% of men
  • #325259 Tritanopia 0.001% of the population
Trichromacy
  • #174490 Protanomaly 1% of men, 0.01% of women
  • #174785 Deuteranomaly 6% of men, 0.4% of women
  • #37496a Tritanomaly 0.01% of the population