#40398b Color Information

In a RGB color space, hex #40398b is composed of 25.1% red, 22.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 59% magenta, 0% yellow and 45.5% black. It has a hue angle of 245.1 degrees, a saturation of 41.8% and a lightness of 38.4%. #40398b color hex could be obtained by blending #8072ff with #000017. 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

#40398b color description : Dark moderate blue.

#40398b Color Conversion

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

Hex triplet 40398b #40398b
RGB Decimal 64, 57, 139 rgb(64,57,139)
RGB Percent 25.1, 22.4, 54.5 rgb(25.1%,22.4%,54.5%)
CMYK 54, 59, 0, 45
HSL 245.1°, 41.8, 38.4 hsl(245.1,41.8%,38.4%)
HSV (or HSB) 245.1°, 59, 54.5
Web Safe 333399 #333399
CIE-LAB 29.108, 26.833, -44.901
XYZ 8.237, 5.88, 25.126
xyY 0.21, 0.15, 5.88
CIE-LCH 29.108, 52.308, 300.863
CIE-LUV 29.108, -2.301, -60.668
Hunter-Lab 24.249, 18.197, -44.46
Binary 01000000, 00111001, 10001011

Color Schemes with #40398b

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

Alternatives to #40398b

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

Similar Colors

#40398b Preview

Text with hexadecimal color #40398b

This text has a font color of #40398b.

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

This paragraph has a background color of #40398b.

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

This element has a border color of #40398b.

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

Shades and Tints of #40398b

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

Shade Color Variation
Tint Color Variation

Tones of #40398b

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

Tone Color Variation

Color Blindness Simulator

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