#40338d Color Information

In a RGB color space, hex #40338d is composed of 25.1% red, 20% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 63.8% magenta, 0% yellow and 44.7% black. It has a hue angle of 248.7 degrees, a saturation of 46.9% and a lightness of 37.6%. #40338d color hex could be obtained by blending #8066ff with #00001b. Closest websafe color is: #333399.

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

#40338d color description : Dark moderate blue.

#40338d Color Conversion

The hexadecimal color #40338d has RGB values of R:64, G:51, B:141 and CMYK values of C:0.55, M:0.64, Y:0, K:0.45. Its decimal value is 4207501.

Hex triplet 40338d #40338d
RGB Decimal 64, 51, 141 rgb(64,51,141)
RGB Percent 25.1, 20, 55.3 rgb(25.1%,20%,55.3%)
CMYK 55, 64, 0, 45
HSL 248.7°, 46.9, 37.6 hsl(248.7,46.9%,37.6%)
HSV (or HSB) 248.7°, 63.8, 55.3
Web Safe 333399 #333399
CIE-LAB 27.792, 31.317, -48.272
XYZ 8.105, 5.38, 25.809
xyY 0.206, 0.137, 5.38
CIE-LCH 27.792, 57.54, 302.974
CIE-LUV 27.792, -1.019, -63.966
Hunter-Lab 23.196, 21.778, -49.733
Binary 01000000, 00110011, 10001101

Color Schemes with #40338d

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

Alternatives to #40338d

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

Similar Colors

#40338d Preview

Text with hexadecimal color #40338d

This text has a font color of #40338d.

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

This paragraph has a background color of #40338d.

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

This element has a border color of #40338d.

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

Shades and Tints of #40338d

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, #05040b is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40338d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40338d 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
  • #414141 Achromatopsia 0.005% of the population
  • #413e50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #2f5056 Tritanopia 0.001% of the population
Trichromacy
  • #17418e Protanomaly 1% of men, 0.01% of women
  • #174383 Deuteranomaly 6% of men, 0.4% of women
  • #35456a Tritanomaly 0.01% of the population