#40318a Color Information

In a RGB color space, hex #40318a is composed of 25.1% red, 19.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 64.5% magenta, 0% yellow and 45.9% black. It has a hue angle of 250.1 degrees, a saturation of 47.6% and a lightness of 36.7%. #40318a color hex could be obtained by blending #8062ff with #000015. Closest websafe color is: #333399.

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

#40318a color description : Dark moderate blue.

#40318a Color Conversion

The hexadecimal color #40318a has RGB values of R:64, G:49, B:138 and CMYK values of C:0.54, M:0.64, Y:0, K:0.46. Its decimal value is 4206986.

Hex triplet 40318a #40318a
RGB Decimal 64, 49, 138 rgb(64,49,138)
RGB Percent 25.1, 19.2, 54.1 rgb(25.1%,19.2%,54.1%)
CMYK 54, 64, 0, 46
HSL 250.1°, 47.6, 36.7 hsl(250.1,47.6%,36.7%)
HSV (or HSB) 250.1°, 64.5, 54.1
Web Safe 333399 #333399
CIE-LAB 27.078, 31.594, -47.574
XYZ 7.799, 5.121, 24.621
xyY 0.208, 0.136, 5.121
CIE-LCH 27.078, 57.109, 303.588
CIE-LUV 27.078, -0.349, -62.482
Hunter-Lab 22.63, 21.914, -48.663
Binary 01000000, 00110001, 10001010

Color Schemes with #40318a

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

Alternatives to #40318a

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

Similar Colors

#40318a Preview

Text with hexadecimal color #40318a

This text has a font color of #40318a.

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

This paragraph has a background color of #40318a.

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

This element has a border color of #40318a.

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

Shades and Tints of #40318a

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

Shade Color Variation
Tint Color Variation

Tones of #40318a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40318a 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
  • #404040 Achromatopsia 0.005% of the population
  • #403d4f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478c Protanopia 1% of men
  • #004b7b Deuteranopia 1% of men
  • #304e54 Tritanopia 0.001% of the population
Trichromacy
  • #173f8b Protanomaly 1% of men, 0.01% of women
  • #174180 Deuteranomaly 6% of men, 0.4% of women
  • #364367 Tritanomaly 0.01% of the population